summaryrefslogtreecommitdiff
path: root/src/drivers/tpm
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2021-05-27 19:33:57 +0300
committerPatrick Georgi <pgeorgi@google.com>2021-05-30 20:14:47 +0000
commitf303b4ffd92caf479153245a720c79eca5edb4ba (patch)
tree8d8fcd4e52e6a04a6445ea77f2175425dec7fac2 /src/drivers/tpm
parentde77449c3946e89140fe53ca636d77a23ccc503c (diff)
downloadcoreboot-f303b4ffd92caf479153245a720c79eca5edb4ba.tar.gz
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>
Diffstat (limited to 'src/drivers/tpm')
-rw-r--r--src/drivers/tpm/Kconfig4
1 files changed, 2 insertions, 2 deletions
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