summaryrefslogtreecommitdiff
path: root/src/drivers/tpm/cr50.c
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/tpm/cr50.c
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/tpm/cr50.c')
-rw-r--r--src/drivers/tpm/cr50.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/drivers/tpm/cr50.c b/src/drivers/tpm/cr50.c
index 5618b9db5d..d77ad48d8f 100644
--- a/src/drivers/tpm/cr50.c
+++ b/src/drivers/tpm/cr50.c
@@ -8,7 +8,8 @@
#include <types.h>
#define CR50_DID_VID 0x00281ae0L
-#define TI50_DID_VID 0x504a6666L
+#define TI50_DT_DID_VID 0x504a6666L
+#define TI50_OT_DID_VID 0x50666666L
#define CR50_BOARD_CFG_LOCKBIT_MASK 0x80000000U
#define CR50_BOARD_CFG_FEATUREBITS_MASK 0x3FFFFFFFU