OpenOCD
sfdp.c File Reference
Include dependency graph for sfdp.c:

Go to the source code of this file.

Data Structures

struct  sfdp_4byte_addr_param
 
struct  sfdp_basic_flash_param
 
struct  sfdp_hdr
 
struct  sfdp_phdr
 

Macros

#define SFDP_4BYTE_ADDR   0xFF84
 
#define SFDP_ACCESS_PROT   0xFF
 
#define SFDP_BASIC_FLASH   0xFF00
 
#define SFDP_MAGIC   0x50444653
 

Functions

int spi_sfdp (struct flash_bank *bank, struct flash_device *dev, read_sfdp_block_t read_sfdp_block)
 

Variables

static const char * sfdp_name = "sfdp"
 

Macro Definition Documentation

◆ SFDP_4BYTE_ADDR

#define SFDP_4BYTE_ADDR   0xFF84

Definition at line 18 of file sfdp.c.

◆ SFDP_ACCESS_PROT

#define SFDP_ACCESS_PROT   0xFF

Definition at line 16 of file sfdp.c.

◆ SFDP_BASIC_FLASH

#define SFDP_BASIC_FLASH   0xFF00

Definition at line 17 of file sfdp.c.

◆ SFDP_MAGIC

#define SFDP_MAGIC   0x50444653

Definition at line 15 of file sfdp.c.

Function Documentation

◆ spi_sfdp()

Variable Documentation

◆ sfdp_name

const char* sfdp_name = "sfdp"
static

Definition at line 20 of file sfdp.c.

Referenced by spi_sfdp().