summaryrefslogtreecommitdiffstats
path: root/drivers/tpm/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/tpm/Kconfig')
-rw-r--r--drivers/tpm/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tpm/Kconfig b/drivers/tpm/Kconfig
index dacb847bdc..ff2cdbec33 100644
--- a/drivers/tpm/Kconfig
+++ b/drivers/tpm/Kconfig
@@ -24,7 +24,7 @@ config TPM_TIS_SANDBOX
config TPM_ATMEL_TWI
bool "Enable Atmel TWI TPM device driver"
- depends on TPM
+ depends on TPM && DM_I2C
help
This driver supports an Atmel TPM device connected on the I2C bus.
The usual tpm operations and the 'tpm' command can be used to talk
OpenPOWER on IntegriCloud