aboutsummaryrefslogtreecommitdiff
path: root/drivers/tpm/Kconfig
diff options
context:
space:
mode:
authorChristophe Ricard2015-10-06 22:54:42 +0200
committerSimon Glass2015-10-23 09:42:28 -0600
commit302c5dba0a6eeb5846b628d3d59978dc0751def9 (patch)
tree449eeae686ce438d3ed29a092e810f68abb600e5 /drivers/tpm/Kconfig
parent0766ad2f7fdae6d7482b8e1e3f5a49b3d9a3810b (diff)
dm: tpm: Add Driver Model support for tpm_atmel_twi driver
tpm_atmel_twi can fit perfectly to the new UCLASS_TPM class. Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com> Reviewed-by: Tom Rini <trini@konsulko.com> Acked-by: Simon Glass <sjg@chromium.org>
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 dacb847bdc3..ff2cdbec337 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