From f303b4ffd92caf479153245a720c79eca5edb4ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Thu, 27 May 2021 19:33:57 +0300 Subject: Apply more uses for Kconfig TPM MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I54b296563940cd46fe9da9fe789b746f2fc1987d Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/coreboot/+/55016 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin Reviewed-by: Julius Werner Reviewed-by: Paul Menzel --- src/drivers/tpm/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/drivers/tpm/Kconfig') diff --git a/src/drivers/tpm/Kconfig b/src/drivers/tpm/Kconfig index 79b860f89b..735cfeebb8 100644 --- a/src/drivers/tpm/Kconfig +++ b/src/drivers/tpm/Kconfig @@ -1,6 +1,6 @@ config TPM_INIT_RAMSTAGE bool - default y if TPM1 || TPM2 + default y if TPM depends on !VBOOT && !VENDORCODE_ELTAN_VBOOT && !VENDORCODE_ELTAN_MBOOT \ && !TPM_MEASURED_BOOT_INIT_BOOTBLOCK help @@ -9,7 +9,7 @@ config TPM_INIT_RAMSTAGE config TPM_PPI bool "Generate ACPI code to implement TPM physical presence interface" - depends on TPM1 || TPM2 + depends on TPM depends on HAVE_ACPI_TABLES depends on !CHROMEOS default y if PAYLOAD_TIANOCORE -- cgit v1.2.3