From 1430b043f0376f00d4e1064d231745cb3e62edf0 Mon Sep 17 00:00:00 2001 From: Jes Klinke Date: Mon, 28 Mar 2022 14:22:24 -0700 Subject: tpm: Allow separate handling of Google Ti50 TPM A new iteration of Google's TPM implementation will advertize a new DID:VID, but otherwise follow the same protocol as the earlier design. This change makes use of Kconfigs TPM_GOOGLE_CR50 and TPM_GOOGLE_TI50 to be able to take slightly different code paths, when e.g. evaluating whether TPM firmware is new enough to support certain features. Change-Id: I1e1f8eb9b94fc2d5689656335dc1135b47880986 Signed-off-by: Jes B. Klinke Reviewed-on: https://review.coreboot.org/c/coreboot/+/63158 Tested-by: build bot (Jenkins) Reviewed-by: Julius Werner --- src/drivers/tpm/cr50.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/drivers/tpm/cr50.h') diff --git a/src/drivers/tpm/cr50.h b/src/drivers/tpm/cr50.h index f754e133b8..b39d7442c5 100644 --- a/src/drivers/tpm/cr50.h +++ b/src/drivers/tpm/cr50.h @@ -5,7 +5,7 @@ #include -/* Structure describing the elements of Cr50 firmware version. */ +/* Structure describing the elements of GSC firmware version. */ struct cr50_firmware_version { int epoch; int major; @@ -15,7 +15,7 @@ struct cr50_firmware_version { /* Indicates whether Cr50 ready pulses are guaranteed to be at least 100us. */ bool cr50_is_long_interrupt_pulse_enabled(void); -/* Get the Cr50 firmware version information. */ +/* Get the GSC firmware version information. */ enum cb_err cr50_get_firmware_version(struct cr50_firmware_version *version); /* Set the BOARD_CFG register depending on Cr50 Kconfigs */ -- cgit v1.2.3