Reviewed-by : James Lu <[email protected]>
Thanks, James -----Original Message----- From: Lin, MarsX <[email protected]> Sent: Monday, June 12, 2023 3:10 PM To: [email protected] Cc: Lin, MarsX <[email protected]>; Ni, Ray <[email protected]>; Rhodes, Sean <[email protected]>; Guo, Gua <[email protected]>; Lu, James <[email protected]>; Dong, Guo <[email protected]> Subject: [PATCH] UefiPayloadPkg: Add CAPSULE_SUPPORT in UPL and set it as FALSE in default From: MarsX Lin <[email protected]> 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 <[email protected]> Cc: Sean Rhodes <[email protected]> Cc: Gua Guo <[email protected]> Cc: James Lu <[email protected]> Cc: Guo Dong <[email protected]> Signed-off-by: MarsX Lin <[email protected]> --- 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 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#106010): https://edk2.groups.io/g/devel/message/106010 Mute This Topic: https://groups.io/mt/99479578/21656 Group Owner: [email protected] Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
