[coreboot-gerrit] New patch to review for coreboot: drivers/pc80/tpm: Select TPM device name based on Kconfig option
Subrata Banik (subrata.banik@intel.com)
gerrit at coreboot.org
Fri Nov 11 05:10:30 CET 2016
Subrata Banik (subrata.banik at intel.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/17374
-gerrit
commit b995beab0ac7b75cee097463c85e43015d6a1bb6
Author: Subrata Banik <subrata.banik at intel.com>
Date: Fri Nov 11 09:28:45 2016 +0530
drivers/pc80/tpm: Select TPM device name based on Kconfig option
Device ID remains same for SLB9670 infineon TPM 1.1 and TPM 2.0
chip. Hence select based on TPM2 Kconfig option.
BUG=none
BRANCH=none
TEST=Build and boot SKL RVP with SPI TPM 2.0 module
Change-Id: I57e63f2f2899d25ed6b797930fd8bf1d1cdc1b1d
Signed-off-by: Subrata Banik <subrata.banik at intel.com>
---
src/drivers/pc80/tpm/tpm.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/drivers/pc80/tpm/tpm.c b/src/drivers/pc80/tpm/tpm.c
index fa46b47..fbfb816 100644
--- a/src/drivers/pc80/tpm/tpm.c
+++ b/src/drivers/pc80/tpm/tpm.c
@@ -119,7 +119,11 @@ static const struct device_name atmel_devices[] = {
static const struct device_name infineon_devices[] = {
{0x000b, "SLB9635 TT 1.2"},
{0x001a, "SLB9660 TT 1.2"},
+#if IS_ENABLED(CONFIG_TPM2)
+ {0x001b, "SLB9670 TT 2.0"},
+#else
{0x001b, "SLB9670 TT 1.2"},
+#endif
{0xffff}
};
More information about the coreboot-gerrit
mailing list