summaryrefslogtreecommitdiff
path: root/drivers/tpm/Kconfig
diff options
context:
space:
mode:
authorChristophe Ricard <christophe.ricard@gmail.com>2015-10-06 22:54:42 +0200
committerSimon Glass <sjg@chromium.org>2015-10-23 09:42:28 -0600
commit302c5dba0a6eeb5846b628d3d59978dc0751def9 (patch)
tree449eeae686ce438d3ed29a092e810f68abb600e5 /drivers/tpm/Kconfig
parent0766ad2f7fdae6d7482b8e1e3f5a49b3d9a3810b (diff)
downloadu-boot-imx-302c5dba0a6eeb5846b628d3d59978dc0751def9.zip
u-boot-imx-302c5dba0a6eeb5846b628d3d59978dc0751def9.tar.gz
u-boot-imx-302c5dba0a6eeb5846b628d3d59978dc0751def9.tar.bz2
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 dacb847..ff2cdbe 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