aboutsummaryrefslogtreecommitdiff
path: root/src/Kconfig
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2016-05-06 09:20:35 -0700
committerFurquan Shaikh <furquan@google.com>2016-05-09 05:02:22 +0200
commit1e162bf8bd74e8dcd0b164b627e1d536c7dbd5f5 (patch)
tree87075c54a86acd79027ea76927024882d380994e /src/Kconfig
parent94b18a1757e66c2e3094bd1116a88db36cbb4f79 (diff)
lib/prog_loaders: Allow platforms to skip stage cache
Before multi-CBFS support was added, x86 platforms cached their ramstage in TSEG so that it could be re-used on the resume path. However, more resources/assets are being put in cbfs that are utilized during ramstage. Just caching ramstage does not mean that correct cbfs region is used for all the data. Thus, provide an option to allow platforms to skip caching any component for resume. Change-Id: I0e957a6b859cc7d700aaff67209a17c6558be5de Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://review.coreboot.org/14636 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/Kconfig')
-rw-r--r--src/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Kconfig b/src/Kconfig
index b56f01070f..e64dd35cab 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -262,6 +262,13 @@ config CACHE_RELOCATED_RAMSTAGE_OUTSIDE_CBMEM
The relocated ramstage is saved in an area specified by the
by the board and/or chipset.
+config NO_STAGE_CACHE
+ bool
+ default n
+ help
+ Do not save any component in stage cache for resume path. On resume,
+ all components would be read back from CBFS again.
+
config FLASHMAP_OFFSET
hex "Flash Map Offset"
default 0x00670000 if NORTHBRIDGE_INTEL_SANDYBRIDGE