Attention is currently required from: Benjamin Doron, Lean Sheng Tan, Martin L Roth, Matt DeVillier, Sean Rhodes.
Sergii Dmytruk has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/83737?usp=email )
Change subject: payloads/edk2: set VARIABLE_SUPPORT=SMMSTORE on CONFIG_SMMSTORE ......................................................................
payloads/edk2: set VARIABLE_SUPPORT=SMMSTORE on CONFIG_SMMSTORE
Official EDK2 repository has VARIABLE_SUPPORT defaulting to EMU in UefiPayloadPkg, switch it to SMMSTORE if coreboot is built with it.
Change-Id: Ic59f89c0f708f9b144bd35cd18870d0e1c65677d Signed-off-by: Sergii Dmytruk sergii.dmytruk@3mdeb.com --- M payloads/external/Makefile.mk M payloads/external/edk2/Makefile 2 files changed, 6 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/37/83737/1
diff --git a/payloads/external/Makefile.mk b/payloads/external/Makefile.mk index 53693f5..a0f1f31 100644 --- a/payloads/external/Makefile.mk +++ b/payloads/external/Makefile.mk @@ -189,6 +189,7 @@ CONFIG_ECAM_MMCONF_LENGTH=$(CONFIG_ECAM_MMCONF_LENGTH) \ CONFIG_PCIEXP_SUPPORT_RESIZABLE_BARS=$(CONFIG_PCIEXP_SUPPORT_RESIZABLE_BARS) \ CONFIG_CPU_XTAL_HZ=$(CONFIG_CPU_XTAL_HZ) \ + CONFIG_SMMSTORE=$(CONFIG_SMMSTORE) \ CONFIG_SMMSTORE_V2=$(CONFIG_SMMSTORE_V2) \ CONFIG_EDK2_SECURE_BOOT_SUPPORT=$(CONFIG_EDK2_SECURE_BOOT_SUPPORT) \ CONFIG_EDK2_GOP_DRIVER=$(CONFIG_EDK2_GOP_DRIVER) \ @@ -238,6 +239,7 @@ CONFIG_ECAM_MMCONF_BASE_ADDRESS=$(CONFIG_ECAM_MMCONF_BASE_ADDRESS) \ CONFIG_ECAM_MMCONF_LENGTH=$(CONFIG_ECAM_MMCONF_LENGTH) \ CONFIG_CPU_XTAL_HZ=$(CONFIG_CPU_XTAL_HZ) \ + CONFIG_SMMSTORE=$(CONFIG_SMMSTORE) \ CONFIG_SMMSTORE_V2=$(CONFIG_SMMSTORE_V2) \ GCC_CC_x86_32=$(GCC_CC_x86_32) \ GCC_CC_x86_64=$(GCC_CC_x86_64) \ diff --git a/payloads/external/edk2/Makefile b/payloads/external/edk2/Makefile index 3966b91..c493012 100644 --- a/payloads/external/edk2/Makefile +++ b/payloads/external/edk2/Makefile @@ -69,6 +69,10 @@ ifneq ($(CONFIG_EDK2_SERIAL_SUPPORT),y) BUILD_STR += -D DISABLE_SERIAL_TERMINAL=TRUE endif +# VARIABLE_SUPPORT = EMU +ifeq ($(CONFIG_SMMSTORE),y) +BUILD_STR += -D VARIABLE_SUPPORT=SMMSTORE +endif # MAX_VARIABLE_SIZE = 0x10000 ifeq ($(CONFIG_SMMSTORE_V2),y) BUILD_STR += --pcd gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize=0x8000