aboutsummaryrefslogtreecommitdiff
path: root/hw/tpm/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'hw/tpm/Kconfig')
-rw-r--r--hw/tpm/Kconfig10
1 files changed, 9 insertions, 1 deletions
diff --git a/hw/tpm/Kconfig b/hw/tpm/Kconfig
index f654f0fbce..4c8ee87d67 100644
--- a/hw/tpm/Kconfig
+++ b/hw/tpm/Kconfig
@@ -1,16 +1,24 @@
-config TPM
+config TPMDEV
bool
+ depends on TPM
config TPM_TIS
bool
depends on TPM && ISA_BUS
+ select TPMDEV
config TPM_CRB
bool
depends on TPM && PC
+ select TPMDEV
config TPM_PASSTHROUGH
bool
+ default y
+ # FIXME: should check for x86 host as well
+ depends on TPMDEV && LINUX
config TPM_EMULATOR
bool
+ default y
+ depends on TPMDEV