1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <device/mmio.h>
4 #include <intelblocks/cfg.h>
5 #include <intelblocks/pmclib.h>
6 #include <intelpch/lockdown.h>
9 static void pmc_lock_smi(void)
13 pmcbase
= pmc_mmio_regs();
15 setbits32(pmcbase
+ GEN_PMCON2
, SMI_LOCK
);
18 void soc_lockdown_config(int chipset_lockdown
)
20 /* APL only supports CHIPSET_LOCKDOWN_COREBOOT */
21 if (CONFIG(SOC_INTEL_GEMINILAKE
))