summaryrefslogtreecommitdiff
path: root/src/arch/riscv/id.S
diff options
context:
space:
mode:
authorYouness Alaoui <youness.alaoui@puri.sm>2018-02-07 11:49:35 -0500
committerPatrick Georgi <pgeorgi@google.com>2018-03-26 10:22:23 +0000
commit676887d2e2e474f70a8ebb1b6065f71e4e81001d (patch)
treea19ecb9eeecc0ec0196941182b3c9fb56c4f0b5e /src/arch/riscv/id.S
parente415a4c355b3c030bef7304897a166b1ca60dd7c (diff)
drivers/intel/fsp: Fix TPM initialization when vboot is disabled
A change introduced by commit fe4983e5 [1] in order to prevent re-initialization of the TPM if already set up in verstage had the wrong logic in the if statement, causing the TPM to never be initialized if vboot is disabled. The RESUME_PATH_SAME_AS_BOOT config is enabled by default for ARCH_X86, resulting in the if statement to always evaluate to false. Remove that condition from the if statement to allow it to function as intended. This patch also enables TPM initialization for FSP 2.0 with the same conditions. [1] intel/fsp1_1: Do not re-init TPM in romstage if already setup in verstage https://review.coreboot.org/#/c/coreboot/+/14106/ Change-Id: Ic43d1aa31a296386c7eab6d997f9b701e9ea0fe5 Signed-off-by: Youness Alaoui <youness.alaoui@puri.sm> Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/23680 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/arch/riscv/id.S')
0 files changed, 0 insertions, 0 deletions