summaryrefslogtreecommitdiffstats
path: root/src/drivers
diff options
context:
space:
mode:
authorJon Murphy <jpmurphy@google.com>2023-09-06 12:06:45 -0600
committerFelix Held <felix-coreboot@felixheld.de>2023-09-18 13:11:31 +0000
commit31a0fdd039ed75b584a4990523b723156447994f (patch)
treebeda12f2d1eabef7889e417658d48575cad1f03d /src/drivers
parent2eb7c43491bfea5c2940a7f877ae6f3b8b373dad (diff)
downloadcoreboot-31a0fdd039ed75b584a4990523b723156447994f.tar.gz
coreboot-31a0fdd039ed75b584a4990523b723156447994f.tar.bz2
coreboot-31a0fdd039ed75b584a4990523b723156447994f.zip
drivers/crb: Update error message
Update an invalid error message printed when the timer expires. BUG=None TEST=None BRANCH=None Change-Id: If6d35290e9cb8281cd33892dc052f49277474a59 Signed-off-by: Jon Murphy <jpmurphy@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/77713 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Reviewed-by: Tim Van Patten <timvp@google.com> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/crb/tpm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/crb/tpm.c b/src/drivers/crb/tpm.c
index 858aeb728c2a..e919137ea473 100644
--- a/src/drivers/crb/tpm.c
+++ b/src/drivers/crb/tpm.c
@@ -85,7 +85,7 @@ static int crb_wait_for_reg32(const void *addr, uint32_t timeoutMs, uint32_t mas
if (stopwatch_expired(&sw)) {
printk(BIOS_ERR,
- "CRB_WAIT: Error - Returning Zero with RegValue: %08x, Mask: %08x, Expected: %08x\n",
+ "CRB_WAIT: Error - Timed out with RegValue: %08x, Mask: %08x, Expected: %08x\n",
regValue, mask, expectedValue);
return -1;
}