diff options
author | Zhiguang Liu <zhiguang.liu@intel.com> | 2021-08-06 10:40:24 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-08-09 04:05:44 +0000 |
commit | 672bd1c7113317816765e6b5aff005e70052cc94 (patch) | |
tree | 22e0001e8bc99ea5fc6d672b6b832c0b30310dd1 /UefiPayloadPkg/UefiPayloadPkg.fdf | |
parent | ac6e5d6b411fdf1270749e8676f5ef27d9ae01d7 (diff) | |
download | edk2-672bd1c7113317816765e6b5aff005e70052cc94.zip edk2-672bd1c7113317816765e6b5aff005e70052cc94.tar.gz edk2-672bd1c7113317816765e6b5aff005e70052cc94.tar.bz2 |
UefiPayloadPkg: Add a macro to enable or diable the serial driver.
This patch doesn't change the default behavior.
Reviewed-by: Guo Dong <guo.dong@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
Cc: Maurice Ma <maurice.ma@intel.com>
Cc: Benjamin You <benjamin.you@intel.com>
Signed-off-by: Zhiguang Liu <zhiguang.liu@intel.com>
Diffstat (limited to 'UefiPayloadPkg/UefiPayloadPkg.fdf')
-rw-r--r-- | UefiPayloadPkg/UefiPayloadPkg.fdf | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/UefiPayloadPkg/UefiPayloadPkg.fdf b/UefiPayloadPkg/UefiPayloadPkg.fdf index 041fed8..b2cfb6b 100644 --- a/UefiPayloadPkg/UefiPayloadPkg.fdf +++ b/UefiPayloadPkg/UefiPayloadPkg.fdf @@ -136,7 +136,9 @@ INF MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf #
# ISA Support
#
+!if $(SERIAL_DRIVER_ENABLE) == TRUE
INF MdeModulePkg/Universal/SerialDxe/SerialDxe.inf
+!endif
!if $(PS2_KEYBOARD_ENABLE) == TRUE
INF OvmfPkg/SioBusDxe/SioBusDxe.inf
INF MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
|