acpi: Some build_tpm2() code reshape
commite27e1e63ce075b87f03d3257d8f30cf7c4287340
authorEric Auger <eric.auger@redhat.com>
Mon, 22 Jun 2020 14:06:18 +0000 (22 16:06 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 24 Jun 2020 21:18:28 +0000 (24 17:18 -0400)
treeb160fa39d84494db4949e2a37c00164419b25966
parent93dd625f8bf73788058d6fabf7b21b727293166c
acpi: Some build_tpm2() code reshape

Remove any reference to Acpi20TPM2 and adopt an implementation
similar to build_ghes_v2().

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Suggested-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Tested-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20200622140620.17229-2-eric.auger@redhat.com>
Tested-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/acpi/aml-build.c
include/hw/acpi/acpi-defs.h