From 31a0fdd039ed75b584a4990523b723156447994f Mon Sep 17 00:00:00 2001 From: Jon Murphy Date: Wed, 6 Sep 2023 12:06:45 -0600 Subject: [PATCH] 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/77713 Tested-by: build bot (Jenkins) Reviewed-by: Yu-Ping Wu Reviewed-by: Eric Lai Reviewed-by: Tim Van Patten Reviewed-by: Karthik Ramasubramanian --- src/drivers/crb/tpm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/crb/tpm.c b/src/drivers/crb/tpm.c index 858aeb728c..e919137ea4 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; }