* Re: [PATCH] UefiPayloadPkg: Add CAPSULE_SUPPORT in UPL and set it as FALSE in default
2023-06-12 7:10 [PATCH] UefiPayloadPkg: Add CAPSULE_SUPPORT in UPL and set it as FALSE in default marsx.lin
@ 2023-06-12 10:08 ` Lu, James
0 siblings, 0 replies; 2+ messages in thread
From: Lu, James @ 2023-06-12 10:08 UTC (permalink / raw)
To: Lin, MarsX, devel@edk2.groups.io
Cc: Ni, Ray, Rhodes, Sean, Guo, Gua, Dong, Guo
Reviewed-by : James Lu <james.lu@intel.com>
Thanks,
James
-----Original Message-----
From: Lin, MarsX <marsx.lin@intel.com>
Sent: Monday, June 12, 2023 3:10 PM
To: devel@edk2.groups.io
Cc: Lin, MarsX <marsx.lin@intel.com>; Ni, Ray <ray.ni@intel.com>; Rhodes, Sean <sean@starlabs.systems>; Guo, Gua <gua.guo@intel.com>; Lu, James <james.lu@intel.com>; Dong, Guo <guo.dong@intel.com>
Subject: [PATCH] UefiPayloadPkg: Add CAPSULE_SUPPORT in UPL and set it as FALSE in default
From: MarsX Lin <marsx.lin@intel.com>
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4479
Add CAPSULE_SUPPORT to optionally select CapsuleLib instance, default value is FALSE.
Cc: Ray Ni <ray.ni@intel.com>
Cc: Sean Rhodes <sean@starlabs.systems>
Cc: Gua Guo <gua.guo@intel.com>
Cc: James Lu <james.lu@intel.com>
Cc: Guo Dong <guo.dong@intel.com>
Signed-off-by: MarsX Lin <marsx.lin@intel.com>
---
UefiPayloadPkg/UefiPayloadPkg.dsc | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/UefiPayloadPkg/UefiPayloadPkg.dsc b/UefiPayloadPkg/UefiPayloadPkg.dsc
index 615c5b4c6d..849645a876 100644
--- a/UefiPayloadPkg/UefiPayloadPkg.dsc
+++ b/UefiPayloadPkg/UefiPayloadPkg.dsc
@@ -43,6 +43,7 @@
DEFINE USE_CBMEM_FOR_CONSOLE = FALSE DEFINE BOOTSPLASH_IMAGE = FALSE DEFINE NVME_ENABLE = TRUE+ DEFINE CAPSULE_SUPPORT = FALSE # # NULL: NullMemoryTestDxe@@ -228,8 +229,12 @@
UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf+ !if $(CAPSULE_SUPPORT) == TRUE CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibFmp/DxeRuntimeCapsuleLib.inf BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf+ !else+ CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf+ !endif SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf--
2.39.1.windows.1
^ permalink raw reply related [flat|nested] 2+ messages in thread