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/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/drivers/mrc_cache/Kconfig b/src/drivers/mrc_cache/Kconfig
index e09c5d8859..b09c19672e 100644
--- a/src/drivers/mrc_cache/Kconfig
+++ b/src/drivers/mrc_cache/Kconfig
@@ -49,4 +49,12 @@ config MRC_STASH_TO_CBMEM
that need to write back the MRC data in late ramstage boot
states (MRC_WRITE_NV_LATE).
+config MRC_SAVE_HASH_IN_TPM
+ bool "Save a hash of the MRC_CACHE data in TPM NVRAM"
+ depends on VBOOT_STARTS_IN_BOOTBLOCK && TPM2 && !TPM1
+ default y
+ help
+ Store a hash of the MRC_CACHE training data in a TPM NVRAM
+ space to ensure that it cannot be tampered with.
+
endif # CACHE_MRC_SETTINGS