mb/google/brox/var/jubilant: Disable Tccold Handshake
[coreboot.git] / src / mainboard / intel / strago / w25q64.c
blobe73f1846314afdbce53e13bcc3e041d4b1caad99
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <soc/spi.h>
4 #include <string.h>
6 /*
7 * SPI VSCC configuration W25Q64FW.
8 */
10 #define SPI_VSCC (WG_64_BYTE | EO(0x20) | BES_4_KB)
12 static const struct vscc_config spi_config = {
13 .lvscc = SPI_VSCC,
14 .uvscc = SPI_VSCC,
17 int mainboard_get_spi_vscc_config(struct vscc_config *cfg)
19 memcpy(cfg, &spi_config, sizeof(*cfg));
21 return 0;