summaryrefslogtreecommitdiffstats
path: root/payloads
diff options
context:
space:
mode:
authorSean Rhodes <sean@starlabs.systems>2023-04-03 16:30:24 +0100
committerMartin L Roth <gaumless@gmail.com>2023-06-02 22:34:35 +0000
commit61f0a0882d0feb3c7bdee1967ccf163b5923c8ec (patch)
treecb60bfd829f170b533a3dcd38031f717184466b9 /payloads
parentd7a5d9e9daea8c0694c39ea531c208e58bfd156d (diff)
downloadcoreboot-61f0a0882d0feb3c7bdee1967ccf163b5923c8ec.tar.gz
coreboot-61f0a0882d0feb3c7bdee1967ccf163b5923c8ec.tar.bz2
coreboot-61f0a0882d0feb3c7bdee1967ccf163b5923c8ec.zip
payloads/edk2: Set max variable size to 0x8000 for SMMSTORE
SMMSTORE requires 0x8000, compared to the default value of 0x10000. Signed-off-by: Sean Rhodes <sean@starlabs.systems> Change-Id: I10d2a5a0c1d729d83e0b62bb9430863317b883cc Reviewed-on: https://review.coreboot.org/c/coreboot/+/74176 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Diffstat (limited to 'payloads')
-rw-r--r--payloads/external/edk2/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/payloads/external/edk2/Makefile b/payloads/external/edk2/Makefile
index e704093cdd9c..c8d9c9f59970 100644
--- a/payloads/external/edk2/Makefile
+++ b/payloads/external/edk2/Makefile
@@ -71,6 +71,10 @@ endif
ifeq ($(CONFIG_EDK2_FOLLOW_BGRT_SPEC),y)
BUILD_STR += -D FOLLOW_BGRT_SPEC=TRUE
endif
+# MAX_VARIABLE_SIZE = 0x10000
+ifeq ($(CONFIG_SMMSTORE_V2),y)
+BUILD_STR += --pcd gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize=0x8000
+endif
# PCIE_BASE_ADDRESS = 0
ifneq ($(CONFIG_ECAM_MMCONF_LENGTH),)
BUILD_STR += --pcd gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress=$(CONFIG_ECAM_MMCONF_BASE_ADDRESS)