summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFrans Hendriks <fhendriks@eltan.com>2021-04-02 11:25:07 +0200
committerPatrick Georgi <pgeorgi@google.com>2021-04-06 06:53:54 +0000
commit71491a617661a04dc958f1bb1fe700c5b778129a (patch)
tree77f1d9b2c61e8228152b0a5f9f4b4fb752127431 /src
parente48bd3adb4f4f51bdb6e9680efea2938ee52d826 (diff)
drivers/tpm/Kconfig: TPM_INIT for measured boot only
TPM_INIT depends on VBOOT but should also depend on VENDORCODE_ELTAN_xBOOT. Add dependency. TPM_INIT will be enable for measured boot only. BUG = NA TEST = Boot Facebook FB1701 with possible combinaties of VBOOT, measured boot and eltan security. Signed-off-by: Frans Hendriks <fhendriks@eltan.com> Change-Id: I03f8457731c73c653bd82b1042bda3fc2d797feb Reviewed-on: https://review.coreboot.org/c/coreboot/+/52050 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Wim Vervoorn <wvervoorn@eltan.com>
Diffstat (limited to 'src')
-rw-r--r--src/drivers/tpm/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/tpm/Kconfig b/src/drivers/tpm/Kconfig
index baf760b4b0..d8a1e10b22 100644
--- a/src/drivers/tpm/Kconfig
+++ b/src/drivers/tpm/Kconfig
@@ -1,7 +1,7 @@
config TPM_INIT
bool
default y if TPM1 || TPM2
- depends on !VBOOT
+ depends on !VBOOT && !VENDORCODE_ELTAN_VBOOT && !VENDORCODE_ELTAN_MBOOT
help
This driver automatically initializes the TPM if vboot is not used.
The TPM driver init is done during the ramstage chip init phase.