arm/acpi: TPM2 ACPI table support
Add a TPM2 ACPI table if a TPM2.0 sysbus device has been dynamically instantiated. Signed-off-by: Eric Auger <eric.auger@redhat.com> Message-Id: <20200601095737.32671-4-eric.auger@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
committed by
Michael S. Tsirkin
parent
4338416064
commit
80bde69353
@@ -50,6 +50,8 @@ typedef struct TPMIfClass {
|
||||
|
||||
#define TPM_IS_TIS_ISA(chr) \
|
||||
object_dynamic_cast(OBJECT(chr), TYPE_TPM_TIS_ISA)
|
||||
#define TPM_IS_TIS_SYSBUS(chr) \
|
||||
object_dynamic_cast(OBJECT(chr), TYPE_TPM_TIS_SYSBUS)
|
||||
#define TPM_IS_CRB(chr) \
|
||||
object_dynamic_cast(OBJECT(chr), TYPE_TPM_CRB)
|
||||
#define TPM_IS_SPAPR(chr) \
|
||||
|
||||
Reference in New Issue
Block a user