mb/system76/cml-u/dt: Make use of chipset devicetree
[coreboot.git] / src / soc / intel / xeon_sp / lbg / lockdown.c
blob29b43781f9f1370b9b3dc07e46f42ca53fd51f5e
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)