diff options
author | Zhiguang Liu <zhiguang.liu@intel.com> | 2021-06-17 10:09:34 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-06-24 09:16:22 +0000 |
commit | 2db0ed93ffcc004ddfee15cda7a9720970d44ce5 (patch) | |
tree | 8c483ab9f533cccf1858993dab1e6c2da1e039ee /UefiPayloadPkg/UefiPayloadPkg.fdf | |
parent | 86e6948cfbbe802aced7b7f3c6190ac0726c8725 (diff) | |
download | edk2-2db0ed93ffcc004ddfee15cda7a9720970d44ce5.zip edk2-2db0ed93ffcc004ddfee15cda7a9720970d44ce5.tar.gz edk2-2db0ed93ffcc004ddfee15cda7a9720970d44ce5.tar.bz2 |
UefiPayloadPkg: Add macro to enable and disable some drivers
Add macro EMU_VARIABLE_ENABLE and DISABLE_RESET_SYSTEM to include
or exclude some drivers from Payload
Cc: Maurice Ma <maurice.ma@intel.com>
Cc: Guo Dong <guo.dong@intel.com>
Cc: Benjamin You <benjamin.you@intel.com>
Reviewed-by: Guo Dong <guo.dong@intel.com>
Signed-off-by: Zhiguang Liu <zhiguang.liu@intel.com>
Diffstat (limited to 'UefiPayloadPkg/UefiPayloadPkg.fdf')
-rw-r--r-- | UefiPayloadPkg/UefiPayloadPkg.fdf | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/UefiPayloadPkg/UefiPayloadPkg.fdf b/UefiPayloadPkg/UefiPayloadPkg.fdf index 6073f9c..2d51fdb 100644 --- a/UefiPayloadPkg/UefiPayloadPkg.fdf +++ b/UefiPayloadPkg/UefiPayloadPkg.fdf @@ -105,9 +105,16 @@ INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
INF MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
+
+!if $(DISABLE_RESET_SYSTEM) == FALSE
INF MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
+!endif
+
INF PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
+
+!if $(EMU_VARIABLE_ENABLE) == TRUE
INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
+!endif
INF UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
|