coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
w25q64.c File Reference
#include <soc/spi.h>
#include <string.h>
Include dependency graph for w25q64.c:

Go to the source code of this file.

Macros

#define SPI_VSCC   (WG_64_BYTE | EO(0x20) | BES_4_KB)
 

Functions

int mainboard_get_spi_vscc_config (struct vscc_config *cfg)
 

Variables

static const struct vscc_config spi_config
 

Macro Definition Documentation

◆ SPI_VSCC

#define SPI_VSCC   (WG_64_BYTE | EO(0x20) | BES_4_KB)

Definition at line 9 of file w25q64.c.

Function Documentation

◆ mainboard_get_spi_vscc_config()

int mainboard_get_spi_vscc_config ( struct vscc_config cfg)

Definition at line 16 of file w25q64.c.

References memcpy().

Here is the call graph for this function:

Variable Documentation

◆ spi_config

const struct vscc_config spi_config
static
Initial value:
= {
.lvscc = SPI_VSCC,
.uvscc = SPI_VSCC,
}
#define SPI_VSCC
Definition: w25q64.c:9

Definition at line 1 of file w25q64.c.