@@ -17,9 +17,10 @@
################################################################################
[Defines]
-DEFINE NUM_CORES = 4
-DEFINE DO_KCS = 0
-DEFINE DO_FLASHER = FALSE
+DEFINE NUM_CORES = 4
+DEFINE DO_KCS = 0
+DEFINE DO_FLASHER = FALSE
+DEFINE RTK8169_MAC_OVERRIDE = 0x0
PLATFORM_NAME = Cello
PLATFORM_GUID = 77861b3e-74b0-4ff3-8d18-c5ba5803e1bf
@@ -476,6 +477,10 @@ DEFINE DO_FLASHER = FALSE
gAmdStyxTokenSpaceGuid.PcdEnableSmmus|L"StyxEnableSmmus"|gAmdStyxVariableGuid|0x0|FALSE
+!if "$(RTK8169_MAC_OVERRIDE)" != "0x0"
+ gOpenPlatformTokenSpaceGuid.PcdMacOverride|L"Rtk8169MacOverride"|gAmdStyxVariableGuid|0x0|{$(RTK8169_MAC_OVERRIDE)}
+!endif
+
################################################################################
#
# Components Section - list of all EDK II Modules needed by this Platform
@@ -698,3 +703,7 @@ DEFINE DO_FLASHER = FALSE
ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
}
!endif
+
+!if "$(RTK8169_MAC_OVERRIDE)" != "0x0"
+ OpenPlatformPkg/Drivers/Net/Realtek8169MacOverride/Realtek8169MacOverride.inf
+!endif
@@ -240,6 +240,10 @@ READ_LOCK_STATUS = TRUE
}
!endif
+!if "$(RTK8169_MAC_OVERRIDE)" != "0x0"
+ INF OpenPlatformPkg/Drivers/Net/Realtek8169MacOverride/Realtek8169MacOverride.inf
+!endif
+
[FV.STYX_EFI]
FvAlignment = 16
ERASE_POLARITY = 1