drivers/intel/fsp: Fix TPM initialization when vboot is disabled
A change introduced by commit fe4983e5  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.
 intel/fsp1_1: Do not re-init TPM in romstage if already setup in verstage
Signed-off-by: Youness Alaoui <firstname.lastname@example.org>
Signed-off-by: Matt DeVillier <email@example.com>
Reviewed-by: Aaron Durbin <firstname.lastname@example.org>
Tested-by: build bot (Jenkins) <email@example.com>
2 files changed