Browse Source

dm: tpm: Every TPM drivers should depends on DM_TPM

Every TPM drivers should now depends on DM_TPM and not only TPM.

Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Acked-by: Simon Glass <sjg@chromium.org>
Christophe Ricard 9 years ago
parent
commit
3e7d940bb6
1 changed files with 3 additions and 3 deletions
  1. 3 3
      drivers/tpm/Kconfig

+ 3 - 3
drivers/tpm/Kconfig

@@ -24,7 +24,7 @@ config TPM_TIS_SANDBOX
 
 
 config TPM_ATMEL_TWI
 config TPM_ATMEL_TWI
 	bool "Enable Atmel TWI TPM device driver"
 	bool "Enable Atmel TWI TPM device driver"
-	depends on TPM && DM_I2C
+	depends on DM_TPM && DM_I2C
 	help
 	help
 	  This driver supports an Atmel TPM device connected on the I2C bus.
 	  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
 	  The usual tpm operations and the 'tpm' command can be used to talk
@@ -33,7 +33,7 @@ config TPM_ATMEL_TWI
 
 
 config TPM_TIS_INFINEON
 config TPM_TIS_INFINEON
 	bool "Enable support for Infineon SLB9635/45 TPMs on I2C"
 	bool "Enable support for Infineon SLB9635/45 TPMs on I2C"
-	depends on TPM && DM_I2C
+	depends on DM_TPM && DM_I2C
 	help
 	help
 	  This driver supports Infineon TPM devices connected on the I2C bus.
 	  This driver supports Infineon TPM devices connected on the I2C bus.
 	  The usual tpm operations and the 'tpm' command can be used to talk
 	  The usual tpm operations and the 'tpm' command can be used to talk
@@ -57,7 +57,7 @@ config TPM_TIS_I2C_BURST_LIMITATION_LEN
 
 
 config TPM_TIS_LPC
 config TPM_TIS_LPC
 	bool "Enable support for Infineon SLB9635/45 TPMs on LPC"
 	bool "Enable support for Infineon SLB9635/45 TPMs on LPC"
-	depends on TPM && X86
+	depends on DM_TPM && X86
 	help
 	help
 	  This driver supports Infineon TPM devices connected on the I2C bus.
 	  This driver supports Infineon TPM devices connected on the I2C bus.
 	  The usual tpm operations and the 'tpm' command can be used to talk
 	  The usual tpm operations and the 'tpm' command can be used to talk