From d2b2a183075ad0c8e3b505541b7055c90a802ded Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Thu, 29 Apr 2021 15:33:07 +0300 Subject: Add Kconfig TPM MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Defined as TPM1 || TPM2. Change-Id: I18c26d6991c2ccf782a515a8e90a3eb82b53b0e6 Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/coreboot/+/54853 Tested-by: build bot (Jenkins) Reviewed-by: Julius Werner Reviewed-by: Arthur Heymans --- src/cpu/intel/haswell/bootblock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cpu/intel/haswell/bootblock.c') diff --git a/src/cpu/intel/haswell/bootblock.c b/src/cpu/intel/haswell/bootblock.c index 7066637f24..10da068939 100644 --- a/src/cpu/intel/haswell/bootblock.c +++ b/src/cpu/intel/haswell/bootblock.c @@ -52,7 +52,7 @@ static void set_flex_ratio_to_tdp_nominal(void) RCBA32_OR(SOFT_RESET_CTRL, 1); /* Delay before reset to avoid potential TPM lockout */ - if (CONFIG(TPM1) || CONFIG(TPM2)) + if (CONFIG(TPM)) mdelay(30); /* Issue warm reset, will be "CPU only" due to soft reset data */ -- cgit v1.2.3