On 6/14/21 9:13 PM, Stefan Berger wrote: > The following patches entirely eliminate TPM related code if CONFIG_TPM > is not set. > > Stefan > > v2: > - top-down approach for code elimination from arch down to acpi > > Stefan Berger (4): > i386: Eliminate all TPM related code if CONFIG_TPM is not set > arm: Eliminate all TPM related code if CONFIG_TPM is not set > acpi: Eliminate all TPM related code if CONFIG_TPM is not set > sysemu: Make TPM structures inaccessible if CONFIG_TPM is not defined > > hw/acpi/aml-build.c | 2 ++ > hw/arm/sysbus-fdt.c | 4 ++++ > hw/arm/virt-acpi-build.c | 6 ++++++ > hw/arm/virt.c | 2 ++ > hw/i386/acpi-build.c | 20 ++++++++++++++++++++ > include/hw/acpi/tpm.h | 4 ++++ > include/sysemu/tpm.h | 6 +++++- > include/sysemu/tpm_backend.h | 6 +++++- > stubs/tpm.c | 4 ---- > 9 files changed, 48 insertions(+), 6 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <[email protected]> Tested-by: Philippe Mathieu-Daudé <[email protected]>
