The following patches entirely elimiante TPM related code if CONFIG_TPM is not set.
Stefan Stefan Berger (3): acpi: Eliminate all TPM related code if CONFIG_TPM is not set arm: 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(-) -- 2.31.1