Shelley Chen has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/46433 )
Change subject: mrc_cache: Add config SAVE_MRC_CACHE for checking TPM hash ......................................................................
mrc_cache: Add config SAVE_MRC_CACHE for checking TPM hash
As the mrc_cache training data is stored in RW, we calculate and store a hash of the data in TPM NVRAM space. This config will enable the calculation and storing of the hash.
BUG=b:150502246 BRANCH=None TEST=None
Change-Id: I4f8b00bec283683788da820de460cbe30719a1fb Signed-off-by: Shelley Chen shchen@google.com --- M src/drivers/mrc_cache/Kconfig 1 file changed, 7 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/33/46433/1
diff --git a/src/drivers/mrc_cache/Kconfig b/src/drivers/mrc_cache/Kconfig index e09c5d8..2017b31 100644 --- a/src/drivers/mrc_cache/Kconfig +++ b/src/drivers/mrc_cache/Kconfig @@ -49,4 +49,11 @@ that need to write back the MRC data in late ramstage boot states (MRC_WRITE_NV_LATE).
+config SAVE_MRC_HASH + bool + default y + help + Store a hash of the MRC_CACHE training data to ensure in + TPM NVRAM space. + endif # CACHE_MRC_SETTINGS