soc/intel/skylake: Show that SMRAM is unconditionally locked

Align with Cannon Lake SoCs and make it clear that SMRAM is
and should always be locked. This is cleanup, since Skylake's
Kconfig selects HAVE_SMI_HANDLER.

Change-Id: I136c69ad831d9e16d5034d6e488ee061c9b887f5
Signed-off-by: Benjamin Doron <benjamin.doron@9elements.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/87618
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Benjamin Doron 2025-05-09 16:24:39 -04:00 committed by Matt DeVillier
commit 3008b8de53

View file

@ -199,8 +199,7 @@ static void post_mp_init(void)
global_smi_enable_no_pwrbtn();
/* Lock down the SMRAM space. */
if (CONFIG(HAVE_SMI_HANDLER))
smm_lock();
smm_lock();
if (mp_run_on_all_cpus(vmx_configure, NULL) != CB_SUCCESS)
failure = true;