UefiPayloadPkg: Add LOCKBOX_SUPPORT in UPL and set it as FALSE in default

S3 performance table is saved to LockBox. Without LockBox, S3 performance
data will lost.

Add LOCKBOX_SUPPORT to optionally select LockBox libary instance,
default value is FALSE.

Signed-off-by: Zhou Jianfeng <jianfeng.zhou@intel.com>
This commit is contained in:
Zhou Jianfeng 2024-09-22 09:27:08 +08:00 committed by mergify[bot]
parent 14bfcc4021
commit 0354e89fc9
1 changed files with 5 additions and 0 deletions

View File

@ -42,6 +42,7 @@
DEFINE BOOTSPLASH_IMAGE = FALSE
DEFINE NVME_ENABLE = TRUE
DEFINE CAPSULE_SUPPORT = FALSE
DEFINE LOCKBOX_SUPPORT = FALSE
#
# Crypto Support
@ -298,7 +299,11 @@
!endif
DebugLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
!if $(LOCKBOX_SUPPORT) == TRUE
LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf
!else
LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf
!endif
FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
!if $(VARIABLE_SUPPORT) == "EMU"