soc/intel/adl: Consider INTEL_TME config prior TME MSR programming

This patch brings INTEL_TME config check prior programming
TME Set Activation Core MSR on all cores.

TEST=Able to boot Google/Taeko to OS.

Signed-off-by: Subrata Banik <subratabanik@google.com>
Change-Id: I8af7e305da1050f443929ab33be556e713e53e9a
Reviewed-on: https://review.coreboot.org/c/coreboot/+/66976
Reviewed-by: Tarun Tuli <taruntuli@google.com>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Subrata Banik 2022-08-23 19:29:07 +05:30 committed by Tim Wawrzynczak
parent 184ac20fdc
commit 766bd0040f
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ void soc_core_init(struct device *cpu)
/* Enable Turbo */
enable_turbo();
if (is_tme_supported())
if (CONFIG(INTEL_TME) && is_tme_supported())
set_tme_core_activate();
}