From 557aad1df91a11446bf1fa490a7382d1c9a4151c Mon Sep 17 00:00:00 2001 From: Tyler Wang Date: Tue, 14 May 2024 14:07:02 +0800 Subject: cr50: Replace "cr50" to "GSC" in debug messages The cr50.c file currently prints "cr50" in debug messages no matter the system is using Cr50 or Ti50. This can be confusing for developers. This patch replaces "cr50" with "GSC" in debug messages. Using "GSC" makes the messages more clear and easier to search via `grep`. BUG=none TEST=Build and test on karis Change-Id: I21f66cf8b608ca4e4dc82d7a55a851ec996c8bb3 Signed-off-by: Tyler Wang Reviewed-on: https://review.coreboot.org/c/coreboot/+/82420 Reviewed-by: Eric Lai Tested-by: build bot (Jenkins) Reviewed-by: Yu-Ping Wu Reviewed-by: Jon Murphy --- src/drivers/i2c/tpm/cr50.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/drivers') diff --git a/src/drivers/i2c/tpm/cr50.c b/src/drivers/i2c/tpm/cr50.c index 5973d337d0..3bc98c370a 100644 --- a/src/drivers/i2c/tpm/cr50.c +++ b/src/drivers/i2c/tpm/cr50.c @@ -498,7 +498,7 @@ tpm_result_t tpm_vendor_init(struct tpm_chip *chip, unsigned int bus, uint32_t d if (rc) return rc; - printk(BIOS_DEBUG, "cr50 TPM 2.0 (i2c %u:0x%02x id %#x)\n", + printk(BIOS_DEBUG, "GSC TPM 2.0 (i2c %u:0x%02x id %#x)\n", bus, dev_addr, did_vid >> 16); if (tpm_first_access_this_boot()) { -- cgit v1.2.3