Apply more uses for Kconfig TPM

Change-Id: I54b296563940cd46fe9da9fe789b746f2fc1987d
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55016
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
This commit is contained in:
Kyösti Mälkki
2021-05-27 19:33:57 +03:00
committed by Patrick Georgi
parent de77449c39
commit f303b4ffd9
5 changed files with 7 additions and 9 deletions

View File

@@ -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