summaryrefslogtreecommitdiff
path: root/src/cpu/intel
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2021-04-29 15:33:07 +0300
committerFelix Held <felix-coreboot@felixheld.de>2021-05-26 12:31:10 +0000
commitd2b2a183075ad0c8e3b505541b7055c90a802ded (patch)
tree6d74fde77b86066fff2c19c6a886b1ae410016f6 /src/cpu/intel
parent0ed04569d7eea07f6649a9bb379d7af0e97bce25 (diff)
Add Kconfig TPM
Defined as TPM1 || TPM2. Change-Id: I18c26d6991c2ccf782a515a8e90a3eb82b53b0e6 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/54853 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/cpu/intel')
-rw-r--r--src/cpu/intel/haswell/bootblock.c2
1 files changed, 1 insertions, 1 deletions
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 */