acpi: tpm-tis: use AcpiDevAmlIfClass:build_dev_aml to provide device's AML
authorIgor Mammedov <imammedo@redhat.com>
Wed, 8 Jun 2022 13:53:38 +0000 (09:53 -0400)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 9 Jun 2022 23:32:49 +0000 (19:32 -0400)
commit168e3aa7acdf128fb8176616dfe099d6ef3c2182
treee61440704b1055daefccac3b2d42029bc798ce6e
parentd3ecb22c939ebbf92aa9d28b912a3b8a947a54f1
acpi: tpm-tis: use AcpiDevAmlIfClass:build_dev_aml to provide device's AML

.. and clean up not longer needed conditionals in DSTD build code
tpm-tis AML will be fetched and included when ISA bridge will
build its own AML code (including attached devices).

Expected AML change:
    the device under separate _SB.PCI0.ISA scope is moved directly
    under Device(ISA) node.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Ani Sinha <ani@anisinha.ca>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Message-Id: <20220608135340.3304695-34-imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/acpi-build.c
hw/tpm/tpm_tis_isa.c