summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@puri.sm>2019-05-13 14:57:51 -0500
committerNico Huber <nico.h@gmx.de>2019-06-14 16:05:02 +0000
commit30645bff5e6c4a873d27f0d99ca2834488c0f119 (patch)
treeac476c57917cdfa7ce82c60c815f88f73aef2c9c
parentd203bc95d27ef9d76fd2c80da10b98f2c8081383 (diff)
drivers/fsp1_0: select CACHE_MRC_SETTINGS if MRC_CACHE_FMAP
Rather than force the user to create the RW_MRC_CACHE FMAP region, simply select CACHE_MRC_SETTINGS so it's done automatically for them. Signed-off-by: Matt DeVillier <matt.devillier@puri.sm> Change-Id: Iaa1da6015c1bfafe8ea81ca34ef8851f0c689487 Reviewed-on: https://review.coreboot.org/c/coreboot/+/33453 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
-rw-r--r--src/drivers/intel/fsp1_0/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/drivers/intel/fsp1_0/Kconfig b/src/drivers/intel/fsp1_0/Kconfig
index 361dd5ea85..d72d331a96 100644
--- a/src/drivers/intel/fsp1_0/Kconfig
+++ b/src/drivers/intel/fsp1_0/Kconfig
@@ -88,10 +88,11 @@ config ENABLE_MRC_CACHE
config MRC_CACHE_FMAP
bool "Use MRC Cache in FMAP"
depends on ENABLE_MRC_CACHE
+ select CACHE_MRC_SETTINGS
default n
help
Use the region "RW_MRC_CACHE" in FMAP instead of "mrc.cache" in CBFS.
- You must define a region in your FMAP named "RW_MRC_CACHE".
+ Your FMAP must contain a region named "RW_MRC_CACHE".
config MRC_CACHE_SIZE
hex "Fast Boot Data Cache Size"