tpm: Separate tpm_tis common functions from isa code
commitac90053dccea841298eee0133ddbcfd2be017c4b
authorEric Auger <eric.auger@redhat.com>
Thu, 5 Mar 2020 16:51:42 +0000 (5 17:51 +0100)
committerStefan Berger <stefanb@linux.vnet.ibm.com>
Thu, 5 Mar 2020 17:17:53 +0000 (5 12:17 -0500)
tree0ed3eefbd714cebd89904eda39837bf594330866
parentca75c421731d59b4a4b64d094cf2c747896c6922
tpm: Separate tpm_tis common functions from isa code

Move the device agnostic code into tpm_tis_common.c and
put the ISA device specific code into tpm_tis_isa.c

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Tested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Message-id: 20200305165149.618-4-eric.auger@redhat.com
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
hw/tpm/Makefile.objs
hw/tpm/tpm_tis.h [new file with mode: 0644]
hw/tpm/tpm_tis_common.c [moved from hw/tpm/tpm_tis.c with 83% similarity]
hw/tpm/tpm_tis_isa.c [new file with mode: 0644]