mb/amb/birman*/gpio: remove configuration for VDD_MEM_VID[0,1]
[coreboot2.git] / src / mainboard / google / cyan / w25q64.c
blobd19b371c4dc4ad0e38d15264e1f18ac0ca47f503
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <soc/spi.h>
4 #include <string.h>
6 /*
7 * SPI VSCC configuration W25Q64FW.
8 */
9 #define SPI_VSCC (WG_64_BYTE | EO(0x20) | BES_4_KB)
11 static const struct vscc_config spi_config = {
12 .lvscc = SPI_VSCC,
13 .uvscc = SPI_VSCC,
16 int mainboard_get_spi_vscc_config(struct vscc_config *cfg)
18 memcpy(cfg, &spi_config, sizeof(*cfg));
20 return 0;