summaryrefslogtreecommitdiff
path: root/src/drivers/mrc_cache/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/mrc_cache/Kconfig')
-rw-r--r--src/drivers/mrc_cache/Kconfig14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/drivers/mrc_cache/Kconfig b/src/drivers/mrc_cache/Kconfig
index 79cc205a9d..e09c5d8859 100644
--- a/src/drivers/mrc_cache/Kconfig
+++ b/src/drivers/mrc_cache/Kconfig
@@ -35,4 +35,18 @@ config MRC_WRITE_NV_LATE
normal, select this item. This will cause the write to occur at
BS_OS_RESUME_CHECK-ENTRY.
+config MRC_STASH_TO_CBMEM
+ bool
+ default y if MRC_WRITE_NV_LATE || BOOT_DEVICE_SPI_FLASH_NO_EARLY_WRITES
+ default n
+ help
+ Instead of writing back MRC_CACHE training data back to the
+ MRC_CACHE right away, stash the data into cbmem. This data
+ will be written back later to MRC_CACHE. This is selected
+ for platforms which either do not support writes to SPI
+ flash in early stages
+ (BOOT_DEVICE_SPI_FLASH_NO_EARLY_WRITES) or the platforms
+ that need to write back the MRC data in late ramstage boot
+ states (MRC_WRITE_NV_LATE).
+
endif # CACHE_MRC_SETTINGS