]> git.proxmox.com Git - mirror_edk2.git/commit
UefiPayloadPkg: Add macro to support selective driver in UPL
authorJames Lu <james.lu@intel.com>
Thu, 7 Jul 2022 16:15:09 +0000 (09:15 -0700)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 18 Jul 2022 22:18:16 +0000 (22:18 +0000)
commite21b2039112eeba9a93fdd7b70329a07a79c8f0e
tree316346222f609a228eddc7308c6552e56b65b651
parente18a5f813c075e016ac5a60e5c5a9c01b5cfea39
UefiPayloadPkg: Add macro to support selective driver in UPL

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3967

Add macros to decide modules built into UPL.elf.

Macro list:
 - GENERIC_MEMORY_TEST_ENABLE: GenericMemoryTestDxe
 - MEMORY_TEST: NullMemoryTestDxe or GenericMemoryDxe
 - ATA_ENABLE: SataControllerDxe, AtaBusDxe
 - SD_ENABLE: SdMmcPciDxe, EmmcDxe, SdDxe
 - PS2_MOUSE_ENABLE: Ps2MouseDxe

Cc: Guo Dong <guo.dong@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Gua Guo <gua.guo@intel.com>
Signed-off-by: James Lu <james.lu@intel.com>
Reviewed-by: Ray Ni <Ray.ni@intel.com>
Reviewed-by: Guo Dong <guo.dong@intel.com>
UefiPayloadPkg/UefiPayloadPkg.dsc
UefiPayloadPkg/UefiPayloadPkg.fdf