summaryrefslogtreecommitdiff
path: root/src/drivers/spi
diff options
context:
space:
mode:
authorJett Rink <jettrink@google.com>2024-06-10 09:31:14 -0600
committerFelix Held <felix-coreboot@felixheld.de>2024-06-14 12:33:31 +0000
commitd41ad724cd2430558e4ecbb5e90b769555b68c34 (patch)
tree6d3a3d86a22012a49bea041b1f22d7d6e1916c3c /src/drivers/spi
parentce9562f6628039e9bb28f60c318f29c56fc4d559 (diff)
tpm: Add Ti50 OpenTitan DID_VID
The OpenTitan HW implements the same firmware interface as the Ti50 H1D3C hardware variant; it just has a different DID_VID. Allow this new DID_VID to be recognized correctly. BUG=b:324940153 Change-Id: Iaacf6d88bc6067948756c465aac1cd8b24ecae1f Signed-off-by: Jett Rink <jettrink@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/83033 Reviewed-by: Karthik Ramasubramanian <kramasub@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/drivers/spi')
-rw-r--r--src/drivers/spi/tpm/tpm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/spi/tpm/tpm.c b/src/drivers/spi/tpm/tpm.c
index d9c3a6dc1c..f74dfffe01 100644
--- a/src/drivers/spi/tpm/tpm.c
+++ b/src/drivers/spi/tpm/tpm.c
@@ -391,6 +391,7 @@ static enum cb_err tpm2_claim_locality(void)
static const uint32_t supported_did_vids[] = {
0x00281ae0, /* H1 based Cr50 security chip. */
0x504a6666, /* H1D3C based Ti50 security chip. */
+ 0x50666666, /* OpenTitan based Ti50 security chip. */
0x0000104a /* ST33HTPH2E32 */
};