summaryrefslogtreecommitdiffstats
path: root/src/drivers/smmstore
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2018-12-25 03:00:34 +0100
committerPatrick Georgi <pgeorgi@google.com>2019-02-06 18:15:59 +0000
commit12431d6eef53454907711dcd1545a0540ba57bbe (patch)
tree1ef50a80e2f82d0203ee446e17339bbf9d03572d /src/drivers/smmstore
parentd37c2c231831d84f738fed22ca973a85622ae4d8 (diff)
downloadcoreboot-12431d6eef53454907711dcd1545a0540ba57bbe.tar.gz
coreboot-12431d6eef53454907711dcd1545a0540ba57bbe.tar.bz2
coreboot-12431d6eef53454907711dcd1545a0540ba57bbe.zip
Makefile.inc: Create a default SMMSTORE region
Change-Id: I7b7b75050e0139ea9a0a4f2ad3c0d69a482fb38b Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/30421 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/drivers/smmstore')
-rw-r--r--src/drivers/smmstore/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/drivers/smmstore/Kconfig b/src/drivers/smmstore/Kconfig
index 1ab3a5e9410d..e59e78decc15 100644
--- a/src/drivers/smmstore/Kconfig
+++ b/src/drivers/smmstore/Kconfig
@@ -37,4 +37,15 @@ config SMMSTORE_FILENAME
string "SMM store file name" if SMMSTORE_IN_CBFS
default "smm_store"
+config SMMSTORE_SIZE
+ hex "size of the SMMSTORE FMAP region"
+ depends on !SMMSTORE_IN_CBFS
+ default 0x40000
+ help
+ Sets the size of the default SMMSTORE FMAP region.
+ If using an UEFI payload, note that UEFI specifies at least 64K.
+ The current implementation of SMMSTORE is append only, so until
+ garbage collection is implemented it is better to set this to
+ a rather large value.
+
endif