coreboot-kgpe-d16/src/drivers/mrc_cache
Shelley Chen a45f8959c0 mrc_cache: Remove unnecessary data checksum calculation
When MRC_SAVE_HASH_IN_TPM is selected, we can just use the TPM hash to
verify the MRC_CACHE data.  Thus, we don't need to calculate the
checksum anymore in this case.

BUG=b:150502246
BRANCH=None
TEST=make sure memory training still works on nami

Change-Id: I1db4469da49755805b541f50c7ef2f9cdb749425
Signed-off-by: Shelley Chen <shchen@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/46515
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
2020-10-20 23:26:15 +00:00
..
Kconfig mrc_cache: Add config MRC_SAVE_HASH_IN_TPM 2020-10-20 23:20:30 +00:00
Makefile.inc drivers/mrc_cache: Always generate an FMAP region 2018-01-20 16:11:44 +00:00
mrc_cache.c mrc_cache: Remove unnecessary data checksum calculation 2020-10-20 23:26:15 +00:00