@@ -60,8 +60,8 @@
[Pcd]
gAmdStyxTokenSpaceGuid.PcdSocCoreCount
gAmdStyxTokenSpaceGuid.PcdSocCpuId
- gAmdModulePkgTokenSpaceGuid.PcdEthMacA
- gAmdModulePkgTokenSpaceGuid.PcdEthMacB
+ gAmdStyxTokenSpaceGuid.PcdEthMacA
+ gAmdStyxTokenSpaceGuid.PcdEthMacB
[FixedPcd]
gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase
@@ -38,6 +38,9 @@
gAmdStyxTokenSpaceGuid.PcdSocCoreCount|1|UINT32|0x00000100
gAmdStyxTokenSpaceGuid.PcdSocCpuId|1|UINT32|0x00000101
+ gAmdStyxTokenSpaceGuid.PcdEthMacA|0|UINT64|0x000d0001
+ gAmdStyxTokenSpaceGuid.PcdEthMacB|0|UINT64|0x000d0002
+
[PcdsFixedAtBuild]
# CPUID Register
gAmdStyxTokenSpaceGuid.PcdCpuIdRegister|0xE0000010|UINT32|0x00000200
@@ -63,8 +63,8 @@
gAmdStyxTokenSpaceGuid.PcdSocCoreCount
gAmdStyxTokenSpaceGuid.PcdSocCpuId
- gAmdModulePkgTokenSpaceGuid.PcdEthMacA
- gAmdModulePkgTokenSpaceGuid.PcdEthMacB
+ gAmdStyxTokenSpaceGuid.PcdEthMacA
+ gAmdStyxTokenSpaceGuid.PcdEthMacB
[FixedPcd]
gAmdStyxTokenSpaceGuid.PcdIscpSupport
@@ -65,9 +65,8 @@
[Pcd]
gAmdStyxTokenSpaceGuid.PcdStyxFdt
gAmdStyxTokenSpaceGuid.PcdSocCpuId
- gAmdModulePkgTokenSpaceGuid.PcdEthMacA
- gAmdModulePkgTokenSpaceGuid.PcdEthMacB
- gAmdModulePkgTokenSpaceGuid.PcdEthMacB
+ gAmdStyxTokenSpaceGuid.PcdEthMacA
+ gAmdStyxTokenSpaceGuid.PcdEthMacB
gArmTokenSpaceGuid.PcdSystemMemoryBase
[FixedPcd]
@@ -480,8 +480,9 @@ DEFINE DO_RTK = 0
gAmdModulePkgTokenSpaceGuid.PcdPort0NetSpeed|1
gAmdModulePkgTokenSpaceGuid.PcdPort1NetSpeed|1
- gAmdModulePkgTokenSpaceGuid.PcdEthMacA|0x02A1A2A3A4A5
- gAmdModulePkgTokenSpaceGuid.PcdEthMacB|0x02B1B2B3B4B5
+[PcdsDynamicDefault.common]
+ gAmdStyxTokenSpaceGuid.PcdEthMacA|0x02A1A2A3A4A5
+ gAmdStyxTokenSpaceGuid.PcdEthMacB|0x02B1B2B3B4B5
!endif
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0x0
In preparation of switching to a version of AmdModulePkg without any dynamic PCDs, introduce our own versions of the XGBE MAC address PCDs and use them instead of the AmdModulePkg ones. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> --- Platforms/AMD/Styx/AcpiTables/AcpiTables.inf | 4 ++-- Platforms/AMD/Styx/AmdStyx.dec | 3 +++ Platforms/AMD/Styx/Drivers/PlatInitPei/PlatInitPei.inf | 4 ++-- Platforms/AMD/Styx/OverdriveBoard/FdtDxe/FdtDxe.inf | 5 ++--- Platforms/AMD/Styx/OverdriveBoard/OverdriveBoard.dsc | 5 +++-- 5 files changed, 12 insertions(+), 9 deletions(-)