summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/vboot/Kconfig7
-rw-r--r--src/vboot/Makefile.inc1
2 files changed, 8 insertions, 0 deletions
diff --git a/src/vboot/Kconfig b/src/vboot/Kconfig
index f48c82d5a6..d5b5de291e 100644
--- a/src/vboot/Kconfig
+++ b/src/vboot/Kconfig
@@ -221,6 +221,13 @@ config VBOOT_FWID_VERSION
This is the second part of the FWID written to various regions of a
vboot firmware image to identify its version.
+config RO_REGION_ONLY
+ string "Additional files that should not be copied to RW"
+ default ""
+ help
+ Add a space delimited list of filenames that should only be in the
+ RO section.
+
menu "GBB configuration"
config GBB_HWID
diff --git a/src/vboot/Makefile.inc b/src/vboot/Makefile.inc
index 3128fae5b0..75ecff3b21 100644
--- a/src/vboot/Makefile.inc
+++ b/src/vboot/Makefile.inc
@@ -152,6 +152,7 @@ regions-for-file = $(subst $(spc),$(comma),$(sort \
font.bin \
vbgfx.bin \
rmu.bin \
+ $(call strip_quotes,$(CONFIG_RO_REGION_ONLY)) \
,$(1)),COREBOOT,COREBOOT FW_MAIN_A FW_MAIN_B)))
CONFIG_GBB_HWID := $(call strip_quotes,$(CONFIG_GBB_HWID))