1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <device/pci.h>
4 #include <intelblocks/cfg.h>
5 #include <soc/lockdown.h>
6 #include <soc/pci_devs.h>
8 void sata_lockdown_config(int chipset_lockdown
)
10 if (chipset_lockdown
== CHIPSET_LOCKDOWN_COREBOOT
) {
11 pci_or_config32(PCH_DEV_SATA
, SATAGC
, SATAGC_REGLOCK
);
12 pci_or_config32(PCH_DEV_SSATA
, SATAGC
, SATAGC_REGLOCK
);
16 void spi_lockdown_config(int chipset_lockdown
)