Attention is currently required from: Jeremy Soller.
Hello Jeremy Soller,
I'd like you to do a code review. Please visit
https://review.coreboot.org/c/coreboot/+/73296
to review the following change.
Change subject: security/tpm/tspi: Fix preram TPM log max entries ......................................................................
security/tpm/tspi: Fix preram TPM log max entries
Pre-RAM TPM logs use a separate define for the max number of logs. This one fits into the 2 KiB region assigned to TPM_LOG in the CAR linker script.
Change-Id: Idda08a33c4a29fcb50085ca93487585dedf11012 Signed-off-by: Jeremy Soller jeremy@system76.com Signed-off-by: Tim Crawford tcrawford@system76.com --- M src/security/tpm/tspi/log.c 1 file changed, 16 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/96/73296/1
diff --git a/src/security/tpm/tspi/log.c b/src/security/tpm/tspi/log.c index e33cacb..8796c74 100644 --- a/src/security/tpm/tspi/log.c +++ b/src/security/tpm/tspi/log.c @@ -97,7 +97,7 @@ { printk(BIOS_INFO, "TPM LOG: clearing preram log\n"); struct tpm_cb_log_table *tclt = (struct tpm_cb_log_table *)_tpm_log; - tclt->max_entries = MAX_TPM_LOG_ENTRIES; + tclt->max_entries = MAX_PRERAM_TPM_LOG_ENTRIES; tclt->num_entries = 0; }