summaryrefslogtreecommitdiff
path: root/src/drivers/tpm
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2021-04-06 13:54:56 +0200
committerPatrick Georgi <pgeorgi@google.com>2021-04-09 06:21:35 +0000
commit474ed6b46f082fdfbc8f41191aa51bf595889ae8 (patch)
tree0b8f477817023fded4e506ab416d4cc376f3c7e8 /src/drivers/tpm
parent935769398a312ca7908ea63b3cf0bcae18ebc7ee (diff)
drivers/tpm/Kconfig: Rename TPM_INIT to TPM_INIT_RAMSTAGE
Rename the Kconfig parameter to more accurately reflect what it does. TPM can be initialised in a different stage too, for instance with VBOOT it is done in verstage. Change-Id: Ic0126b356e8430c04c7c9fd46d4e20022a648738 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/52133 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Frans Hendriks <fhendriks@eltan.com>
Diffstat (limited to 'src/drivers/tpm')
-rw-r--r--src/drivers/tpm/Kconfig2
-rw-r--r--src/drivers/tpm/Makefile.inc2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/tpm/Kconfig b/src/drivers/tpm/Kconfig
index d8a1e10b22..128f9bfecd 100644
--- a/src/drivers/tpm/Kconfig
+++ b/src/drivers/tpm/Kconfig
@@ -1,4 +1,4 @@
-config TPM_INIT
+config TPM_INIT_RAMSTAGE
bool
default y if TPM1 || TPM2
depends on !VBOOT && !VENDORCODE_ELTAN_VBOOT && !VENDORCODE_ELTAN_MBOOT
diff --git a/src/drivers/tpm/Makefile.inc b/src/drivers/tpm/Makefile.inc
index af6e5a21c1..9833eb4a2f 100644
--- a/src/drivers/tpm/Makefile.inc
+++ b/src/drivers/tpm/Makefile.inc
@@ -1,4 +1,4 @@
-ramstage-$(CONFIG_TPM_INIT) += tpm.c
+ramstage-$(CONFIG_TPM_INIT_RAMSTAGE) += tpm.c
ifeq ($(CONFIG_TPM_PPI),y)
ramstage-$(CONFIG_HAVE_ACPI_TABLES) += ppi.c