summaryrefslogtreecommitdiff
path: root/src/drivers/intel/fsp1_0/Kconfig
diff options
context:
space:
mode:
authorBen Gardner <gardner.ben@gmail.com>2016-02-08 12:18:09 -0600
committerMartin Roth <martinroth@google.com>2016-02-10 16:27:12 +0100
commita3e4833e5d30a904319811f420a7896675bfb12b (patch)
tree0e9af0b6d356d926a9933f5f546a7f39f97f18ce /src/drivers/intel/fsp1_0/Kconfig
parentb19425b46b0eb24e9b9cd6403d1fbeb68615b66e (diff)
intel/fsp1_0: Allow the MRC cache to live in a FMAP region
The new option CONFIG_MRC_CACHE_FMAP will cause fastboot_cache.c to look in the FMAP for a region named "RW_MRC_CACHE" and prevents adding a CBFS file named "mrc.cache". Tested on a fsp_baytail-based board. Change-Id: I248f469c7e3447ac4ec7be32229fbb5584cfd2ed Signed-off-by: Ben Gardner <gardner.ben@gmail.com> Reviewed-on: https://review.coreboot.org/13632 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com> Reviewed-by: York Yang <york.yang@intel.com>
Diffstat (limited to 'src/drivers/intel/fsp1_0/Kconfig')
-rw-r--r--src/drivers/intel/fsp1_0/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/drivers/intel/fsp1_0/Kconfig b/src/drivers/intel/fsp1_0/Kconfig
index 28df90e987..6aa89491e4 100644
--- a/src/drivers/intel/fsp1_0/Kconfig
+++ b/src/drivers/intel/fsp1_0/Kconfig
@@ -68,10 +68,19 @@ config ENABLE_MRC_CACHE
This can either be used for fast boot, or just because the FSP wants
it to be saved.
+config MRC_CACHE_FMAP
+ bool "Use MRC Cache in FMAP"
+ depends on ENABLE_MRC_CACHE
+ 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".
+
config MRC_CACHE_SIZE
hex "Fast Boot Data Cache Size"
default 0x10000
depends on ENABLE_MRC_CACHE
+ depends on !MRC_CACHE_FMAP
help
This is the amount of space in NV storage that is reserved for the
fast boot data cache storage.