From 71491a617661a04dc958f1bb1fe700c5b778129a Mon Sep 17 00:00:00 2001 From: Frans Hendriks Date: Fri, 2 Apr 2021 11:25:07 +0200 Subject: [PATCH] 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 Change-Id: I03f8457731c73c653bd82b1042bda3fc2d797feb Reviewed-on: https://review.coreboot.org/c/coreboot/+/52050 Tested-by: build bot (Jenkins) Reviewed-by: Wim Vervoorn --- src/drivers/tpm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.