payloads/edk2: Disable the CPU Timer Lib unless supported
[coreboot.git] / src / mainboard / protectli / vault_bsw / spi_vscc.c
blob13fb835b66fb0a3605281ec09fbe248fc3571e65
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 #include <soc/spi.h>
4 #include <string.h>
6 #define SPI_VSCC (WG_64_BYTE | EO(0x20) | BES_4_KB)
8 static const struct vscc_config spi_config = {
9 .lvscc = SPI_VSCC,
10 .uvscc = SPI_VSCC,
13 int mainboard_get_spi_vscc_config(struct vscc_config *cfg)
15 memcpy(cfg, &spi_config, sizeof(*cfg));
16 return 0;