summaryrefslogtreecommitdiffstats
path: root/hw/tpm/Kconfig
diff options
context:
space:
mode:
authorEric Auger2020-03-05 17:51:43 +0100
committerStefan Berger2020-03-05 18:18:00 +0100
commit2e8f7675b59f9cf448ff3cf2ec1671350ad60a67 (patch)
tree694e38f536ea31f68dcc44538eb4d589fbbba4c6 /hw/tpm/Kconfig
parenttpm: Separate tpm_tis common functions from isa code (diff)
downloadqemu-2e8f7675b59f9cf448ff3cf2ec1671350ad60a67.tar.gz
qemu-2e8f7675b59f9cf448ff3cf2ec1671350ad60a67.tar.xz
qemu-2e8f7675b59f9cf448ff3cf2ec1671350ad60a67.zip
tpm: Separate TPM_TIS and TPM_TIS_ISA configs
Let's separate the compilation of tpm_tis_common.c from the compilation of tpm_tis_isa.c The common part will be also compiled along with the tpm_tis_sysbus device. Signed-off-by: Eric Auger <eric.auger@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Tested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Message-id: 20200305165149.618-5-eric.auger@redhat.com Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Diffstat (limited to 'hw/tpm/Kconfig')
-rw-r--r--hw/tpm/Kconfig7
1 files changed, 6 insertions, 1 deletions
diff --git a/hw/tpm/Kconfig b/hw/tpm/Kconfig
index 9e67d990e8..686f8206bb 100644
--- a/hw/tpm/Kconfig
+++ b/hw/tpm/Kconfig
@@ -2,9 +2,14 @@ config TPMDEV
bool
depends on TPM
-config TPM_TIS
+config TPM_TIS_ISA
bool
depends on TPM && ISA_BUS
+ select TPM_TIS
+
+config TPM_TIS
+ bool
+ depends on TPM
select TPMDEV
config TPM_CRB