soc/intel/apollolake: Skip SMI lockdown on Apollolake

Commit d9ef02ce (soc/intel/apollolake: Lock down Global SMI) breaks
SMM/SMI on Apollolake (but not Geminilake), so guard it accordingly.

TEST=build/boot google/reef, verify SMM/SMI/SMMSTORE functional.

Change-Id: I00cbe046b61e6c342f7961670478d0ca8d365c2e
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/68549
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Sean Rhodes <sean@starlabs.systems>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Matt DeVillier 2022-10-17 15:47:11 -05:00 committed by Felix Held
parent 95b5b025a0
commit 6c8826de8f
1 changed files with 2 additions and 1 deletions

View File

@ -18,5 +18,6 @@ static void pmc_lock_smi(void)
void soc_lockdown_config(int chipset_lockdown)
{
/* APL only supports CHIPSET_LOCKDOWN_COREBOOT */
if (CONFIG(SOC_INTEL_GEMINILAKE))
pmc_lock_smi();
}