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>
This commit is contained in:
Matt DeVillier 2019-05-13 14:57:51 -05:00 committed by Nico Huber
parent d203bc95d2
commit 30645bff5e
1 changed files with 2 additions and 1 deletions

View File

@ -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"