summaryrefslogtreecommitdiff
path: root/src/soc/intel/xeon_sp/ebg/lockdown.c
blob: 694e4a24a33408007cdfc20b1d2d68b6554e2c94 (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 <intelblocks/cfg.h>
#include <intelblocks/fast_spi.h>
#include <intelpch/lockdown.h>
#include <soc/lockdown.h>

void sata_lockdown_config(int chipset_lockdown)
{
}

void spi_lockdown_config(int chipset_lockdown)
{
	if (chipset_lockdown == CHIPSET_LOCKDOWN_COREBOOT) {
		fast_spi_set_bde();
		fast_spi_set_vcl();
	}
}