aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/tpm/cr50.h
diff options
context:
space:
mode:
authorJes Klinke <jbk@google.com>2022-03-28 14:22:24 -0700
committerMartin L Roth <martinroth@google.com>2022-04-24 22:09:42 +0000
commit1430b043f0376f00d4e1064d231745cb3e62edf0 (patch)
tree057384f10a7fefa2de190b203e143d0471f94196 /src/drivers/tpm/cr50.h
parent9d8df30950710635c9e7c099ef8d0c8d047658ca (diff)
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 <jbk@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/63158 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/drivers/tpm/cr50.h')
-rw-r--r--src/drivers/tpm/cr50.h4
1 files changed, 2 insertions, 2 deletions
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 <types.h>
-/* 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 */