coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <commonlib/helpers.h>
#include <spi_flash.h>
#include <spi-generic.h>
#include "spi_flash_internal.h"
Go to the source code of this file.
Macros | |
#define | CMD_GD25_WREN 0x06 /* Write Enable */ |
#define | CMD_GD25_WRDI 0x04 /* Write Disable */ |
#define | CMD_GD25_RDSR 0x05 /* Read Status Register */ |
#define | CMD_GD25_WRSR 0x01 /* Write Status Register */ |
#define | CMD_GD25_READ 0x03 /* Read Data Bytes */ |
#define | CMD_GD25_FAST_READ 0x0b /* Read Data Bytes at Higher Speed */ |
#define | CMD_GD25_PP 0x02 /* Page Program */ |
#define | CMD_GD25_SE 0x20 /* Sector (4K) Erase */ |
#define | CMD_GD25_BE 0xd8 /* Block (64K) Erase */ |
#define | CMD_GD25_CE 0xc7 /* Chip Erase */ |
#define | CMD_GD25_DP 0xb9 /* Deep Power-down */ |
#define | CMD_GD25_RES 0xab /* Release from DP, and Read Signature */ |
Variables | |
static const struct spi_flash_part_id | flash_table [] |
const struct spi_flash_vendor_info | spi_flash_gigadevice_vi |
#define CMD_GD25_BE 0xd8 /* Block (64K) Erase */ |
Definition at line 18 of file gigadevice.c.
#define CMD_GD25_CE 0xc7 /* Chip Erase */ |
Definition at line 19 of file gigadevice.c.
#define CMD_GD25_DP 0xb9 /* Deep Power-down */ |
Definition at line 20 of file gigadevice.c.
#define CMD_GD25_FAST_READ 0x0b /* Read Data Bytes at Higher Speed */ |
Definition at line 15 of file gigadevice.c.
#define CMD_GD25_PP 0x02 /* Page Program */ |
Definition at line 16 of file gigadevice.c.
#define CMD_GD25_RDSR 0x05 /* Read Status Register */ |
Definition at line 12 of file gigadevice.c.
#define CMD_GD25_READ 0x03 /* Read Data Bytes */ |
Definition at line 14 of file gigadevice.c.
#define CMD_GD25_RES 0xab /* Release from DP, and Read Signature */ |
Definition at line 21 of file gigadevice.c.
#define CMD_GD25_SE 0x20 /* Sector (4K) Erase */ |
Definition at line 17 of file gigadevice.c.
#define CMD_GD25_WRDI 0x04 /* Write Disable */ |
Definition at line 11 of file gigadevice.c.
#define CMD_GD25_WREN 0x06 /* Write Enable */ |
Definition at line 10 of file gigadevice.c.
#define CMD_GD25_WRSR 0x01 /* Write Status Register */ |
Definition at line 13 of file gigadevice.c.
|
static |
Definition at line 1 of file gigadevice.c.
const struct spi_flash_vendor_info spi_flash_gigadevice_vi |
Definition at line 1 of file gigadevice.c.