diff options
author | Shelley Chen <shchen@google.com> | 2020-10-17 00:53:41 -0700 |
---|---|---|
committer | Julius Werner <jwerner@chromium.org> | 2020-10-20 23:26:15 +0000 |
commit | a45f8959c02cd73d8eebe5e39c0fa9957bc05ae3 (patch) | |
tree | 2e7a760cdff1e2114b18f1b1e66e74538d414743 /src/lib/device_tree.c | |
parent | c1040f3ef43bf906b71746e3e0a07dbb4a44febe (diff) |
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>
Diffstat (limited to 'src/lib/device_tree.c')
0 files changed, 0 insertions, 0 deletions