summaryrefslogtreecommitdiffstats
path: root/drivers/tpm/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/tpm/Kconfig')
-rw-r--r--drivers/tpm/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/tpm/Kconfig b/drivers/tpm/Kconfig
index 9101fc26b9..6bc8fddbd1 100644
--- a/drivers/tpm/Kconfig
+++ b/drivers/tpm/Kconfig
@@ -4,6 +4,15 @@
menu "TPM support"
+config DM_TPM
+ bool "Enable driver model for Trusted Platform Module drivers"
+ depends on DM && TPM
+ help
+ Enable driver model for TPMs. The TIS interface (tis_open(),
+ tis_sendrecv(), etc.) is then implemented by the TPM uclass. Note
+ that even with driver model only a single TPM is currently
+ supported, since the tpm library assumes this.
+
config TPM_TIS_SANDBOX
bool "Enable sandbox TPM driver"
depends on SANDBOX
OpenPOWER on IntegriCloud