summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/i2c/tpm/Kconfig2
-rw-r--r--src/drivers/spi/tpm/Kconfig8
2 files changed, 9 insertions, 1 deletions
diff --git a/src/drivers/i2c/tpm/Kconfig b/src/drivers/i2c/tpm/Kconfig
index f2b969f5bb..594ffd51b3 100644
--- a/src/drivers/i2c/tpm/Kconfig
+++ b/src/drivers/i2c/tpm/Kconfig
@@ -1,6 +1,6 @@
config I2C_TPM
bool "I2C TPM"
- depends on !PC80_SYSTEM # for now
+ depends on TPM || TPM2
config DRIVER_TPM_I2C_BUS
hex "I2C TPM chip bus"
diff --git a/src/drivers/spi/tpm/Kconfig b/src/drivers/spi/tpm/Kconfig
new file mode 100644
index 0000000000..e2a6bb6527
--- /dev/null
+++ b/src/drivers/spi/tpm/Kconfig
@@ -0,0 +1,8 @@
+config SPI_TPM
+ bool "SPI TPM"
+ depends on !PC80_SYSTEM && TPM2
+
+config DRIVER_TPM_SPI_BUS
+ hex "SPI bus TPM chip is connected to"
+ default 0
+ depends on SPI_TPM