diff options
author | Patrick Rudolph <patrick.rudolph@9elements.com> | 2020-03-20 09:55:43 +0100 |
---|---|---|
committer | Philipp Deppenwiese <zaolin.daisuki@gmail.com> | 2020-04-28 01:19:15 +0000 |
commit | 7bcd9a1d91f10c6c58cd4c2b4e0583eec221810c (patch) | |
tree | 588b3f13a87659ad30bb207eaac341b39435cb4d /src/drivers/spi/tpm/tis.c | |
parent | fd50aea03e57e8efda5bc33f1cbbcd6f2a62e66b (diff) | |
download | coreboot-7bcd9a1d91f10c6c58cd4c2b4e0583eec221810c.tar.xz |
drivers/spi/tpm: Add support for non CR50 SPI TPM2
Add support for a STM SPI TPM2 by adding checks for CR50.
Tested using ST33HTPH2E32.
Change-Id: I015497ca078979a44ba2b84e4995493de1f7247b
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/39693
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/drivers/spi/tpm/tis.c')
-rw-r--r-- | src/drivers/spi/tpm/tis.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/spi/tpm/tis.c b/src/drivers/spi/tpm/tis.c index 6230751fb1..60dc705bee 100644 --- a/src/drivers/spi/tpm/tis.c +++ b/src/drivers/spi/tpm/tis.c @@ -18,6 +18,7 @@ static const struct { } dev_map[] = { { 0x15d1, 0x001b, "SLB9670" }, { 0x1ae0, 0x0028, "CR50" }, + { 0x104a, 0x0000, "ST33HTPH2E32" }, }; static const char *tis_get_dev_name(struct tpm2_info *info) |