![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <stdint.h>
Go to the source code of this file.
Data Structures | |
struct | spi_config |
Macros | |
#define | HSFSTS 0x04 |
#define | FLOCKDN (0x1 << 15) |
#define | PREOP 0x94 |
#define | OPTYPE 0x96 |
#define | OPMENU0 0x98 |
#define | OPMENU1 0x9c |
#define | LVSCC 0xc4 |
#define | VCL (0x1 << 23) |
#define | EO(x) (((x) & 0xff) << 8) |
#define | WG_1_BYTE (0x0 << 2) |
#define | WG_64_BYTE (0x1 << 2) |
#define | BES_256_BYTE (0x0 << 0) |
#define | BES_4_KB (0x1 << 0) |
#define | BES_8_KB (0x2 << 0) |
#define | BES_64_KB (0x3 << 0) |
#define | UVSCC 0xc8 |
#define | SCS 0xf8 |
#define | SMIWPEN (0x1 << 7) |
#define | BCR 0xfc |
#define | EISS (0x1 << 5) |
#define | SRC_MASK (0x3 << 2) |
#define | SRC_CACHE_NO_PREFETCH (0x0 << 2) |
#define | SRC_NO_CACHE_NO_PREFETCH (0x1 << 2) |
#define | SRC_CACHE_PREFETCH (0x2 << 2) |
#define | BCR_LE (0x1 << 1) |
#define | BCR_WPD (0x1 << 0) |
Functions | |
int | mainboard_get_spi_config (struct spi_config *cfg) |
int mainboard_get_spi_config | ( | struct spi_config * | cfg | ) |
Definition at line 52 of file w25q64.c.
References memcpy().
Referenced by finalize_chipset().