/* SPDX-License-Identifier: GPL-2.0-only */ #include #include #include #include #include static void pmc_lock_smi(void) { uint8_t *pmcbase; pmcbase = pmc_mmio_regs(); setbits32(pmcbase + GEN_PMCON2, SMI_LOCK); } void soc_lockdown_config(int chipset_lockdown) { /* APL only supports CHIPSET_LOCKDOWN_COREBOOT */ pmc_lock_smi(); }