Skip to content

Commit

Permalink
fixup! Rk356x: Add option to disable EFI_MEMORY_ATTRIBUTE_PROTOCOL.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredmcneill committed May 25, 2024
1 parent 43b1cfe commit cd98159
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@
gRk356xTokenSpaceGuid.PcdSystemTableMode|L"SystemTableMode"|gConfigDxeFormSetGuid|0x0|0
gRk356xTokenSpaceGuid.PcdCpuClock|L"CpuClock"|gConfigDxeFormSetGuid|0x0|2
gRk356xTokenSpaceGuid.PcdCustomCpuClock|L"CustomCpuClock"|gConfigDxeFormSetGuid|0x0|816
gRk356xTokenSpaceGuid.PcdMemAttrProtocolEnable|L"MemAttrProtocolEnable"|gConfigDxeFormSetGuid|1
gRk356xTokenSpaceGuid.PcdMemAttrProtocolEnable|L"MemAttrProtocolEnable"|gConfigDxeFormSetGuid|0x0|1

#
# Common UEFI ones.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@
gRk356xTokenSpaceGuid.PcdSystemTableMode|L"SystemTableMode"|gConfigDxeFormSetGuid|0x0|0
gRk356xTokenSpaceGuid.PcdCpuClock|L"CpuClock"|gConfigDxeFormSetGuid|0x0|2
gRk356xTokenSpaceGuid.PcdCustomCpuClock|L"CustomCpuClock"|gConfigDxeFormSetGuid|0x0|816
gRk356xTokenSpaceGuid.PcdMemAttrProtocolEnable|L"MemAttrProtocolEnable"|gConfigDxeFormSetGuid|1
gRk356xTokenSpaceGuid.PcdMemAttrProtocolEnable|L"MemAttrProtocolEnable"|gConfigDxeFormSetGuid|0x0|1

#
# Common UEFI ones.
Expand Down
2 changes: 1 addition & 1 deletion edk2-rockchip/Platform/OrangePi/OrangePi3B/OrangePi3B.dsc
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@
gRk356xTokenSpaceGuid.PcdSystemTableMode|L"SystemTableMode"|gConfigDxeFormSetGuid|0x0|0
gRk356xTokenSpaceGuid.PcdCpuClock|L"CpuClock"|gConfigDxeFormSetGuid|0x0|2
gRk356xTokenSpaceGuid.PcdCustomCpuClock|L"CustomCpuClock"|gConfigDxeFormSetGuid|0x0|816
gRk356xTokenSpaceGuid.PcdMemAttrProtocolEnable|L"MemAttrProtocolEnable"|gConfigDxeFormSetGuid|1
gRk356xTokenSpaceGuid.PcdMemAttrProtocolEnable|L"MemAttrProtocolEnable"|gConfigDxeFormSetGuid|0x0|1

#
# Common UEFI ones.
Expand Down
2 changes: 1 addition & 1 deletion edk2-rockchip/Platform/Pine64/PineTab2/PineTab2.dsc
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@
gRk356xTokenSpaceGuid.PcdCpuClock|L"CpuClock"|gConfigDxeFormSetGuid|0x0|2
gRk356xTokenSpaceGuid.PcdCustomCpuClock|L"CustomCpuClock"|gConfigDxeFormSetGuid|0x0|816
gRk356xTokenSpaceGuid.PcdMultiPhy1Mode|L"MultiPhy1Mode"|gConfigDxeFormSetGuid|0x0|0
gRk356xTokenSpaceGuid.PcdMemAttrProtocolEnable|L"MemAttrProtocolEnable"|gConfigDxeFormSetGuid|1
gRk356xTokenSpaceGuid.PcdMemAttrProtocolEnable|L"MemAttrProtocolEnable"|gConfigDxeFormSetGuid|0x0|1

#
# Common UEFI ones.
Expand Down
2 changes: 1 addition & 1 deletion edk2-rockchip/Platform/Pine64/Quartz64/Quartz64.dsc
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@
gRk356xTokenSpaceGuid.PcdCustomCpuClock|L"CustomCpuClock"|gConfigDxeFormSetGuid|0x0|816
gRk356xTokenSpaceGuid.PcdMultiPhy1Mode|L"MultiPhy1Mode"|gConfigDxeFormSetGuid|0x0|0
gRk356xTokenSpaceGuid.PcdFanMode|L"FanMode"|gConfigDxeFormSetGuid|0x0|1
gRk356xTokenSpaceGuid.PcdMemAttrProtocolEnable|L"MemAttrProtocolEnable"|gConfigDxeFormSetGuid|1
gRk356xTokenSpaceGuid.PcdMemAttrProtocolEnable|L"MemAttrProtocolEnable"|gConfigDxeFormSetGuid|0x0|1

#
# Common UEFI ones.
Expand Down
2 changes: 1 addition & 1 deletion edk2-rockchip/Platform/Pine64/SOQuartz/SOQuartz.dsc
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@
gRk356xTokenSpaceGuid.PcdSystemTableMode|L"SystemTableMode"|gConfigDxeFormSetGuid|0x0|0
gRk356xTokenSpaceGuid.PcdCpuClock|L"CpuClock"|gConfigDxeFormSetGuid|0x0|2
gRk356xTokenSpaceGuid.PcdCustomCpuClock|L"CustomCpuClock"|gConfigDxeFormSetGuid|0x0|816
gRk356xTokenSpaceGuid.PcdMemAttrProtocolEnable|L"MemAttrProtocolEnable"|gConfigDxeFormSetGuid|1
gRk356xTokenSpaceGuid.PcdMemAttrProtocolEnable|L"MemAttrProtocolEnable"|gConfigDxeFormSetGuid|0x0|1

#
# Common UEFI ones.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
#string STR_SYSCONFIG_SYSTAB_BOTH #language en-US "ACPI + Devicetree"
#string STR_SYSCONFIG_SYSTAB_DT #language en-US "Devicetree"

#string STR_SYSCONFIG_MEMATTR_PROMPT #language en-US "EFI_MEMORY_ATTRIBUTE_PROTOCOL Support"
#string STR_SYSCONFIG_MEMATTR_HELP #language en-US "Disable EFI_MEMORY_ATTRIBUTE_PROTOCOL support to work around buggy Linux distributions."
#string STR_SYSCONFIG_MEMATTR_PROMPT #language en-US "Memory Protection Support"
#string STR_SYSCONFIG_MEMATTR_HELP #language en-US "Enable support for UEFI memory attribute protocol."

#string STR_SYSCONFIG_CPUCLOCK_PROMPT #language en-US "CPU Clock"
#string STR_SYSCONFIG_CPUCLOCK_HELP #language en-US "CPU Speed"
Expand Down

0 comments on commit cd98159

Please sign in to comment.