From d41ad724cd2430558e4ecbb5e90b769555b68c34 Mon Sep 17 00:00:00 2001 From: Jett Rink Date: Mon, 10 Jun 2024 09:31:14 -0600 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/83033 Reviewed-by: Karthik Ramasubramanian Tested-by: build bot (Jenkins) Reviewed-by: Julius Werner --- src/drivers/spi/tpm/tpm.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/drivers/spi') 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 */ }; -- cgit v1.2.3