summaryrefslogtreecommitdiff
path: root/src/soc/intel/xeon_sp/lbg/lockdown.c
blob: 29b43781f9f1370b9b3dc07e46f42ca53fd51f5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* SPDX-License-Identifier: GPL-2.0-only */

#include <device/pci.h>
#include <intelblocks/cfg.h>
#include <soc/lockdown.h>
#include <soc/pci_devs.h>

void sata_lockdown_config(int chipset_lockdown)
{
	if (chipset_lockdown == CHIPSET_LOCKDOWN_COREBOOT) {
		pci_or_config32(PCH_DEV_SATA, SATAGC, SATAGC_REGLOCK);
		pci_or_config32(PCH_DEV_SSATA, SATAGC, SATAGC_REGLOCK);
	}
}

void spi_lockdown_config(int chipset_lockdown)
{
}