1
2
3
6
7
8
9
10
11
12
20
21
22
23
24
25
26
/* ... */
#ifndef OPENOCD_FLASH_NOR_SFDP_H
#define OPENOCD_FLASH_NOR_SFDP_H
#define SFDP_MAGIC 0x50444653
/* ... */
typedef int (*read_sfdp_block_t)(struct flash_bank *bank, uint32_t addr,
unsigned int words, uint32_t *buffer);
extern int spi_sfdp(struct flash_bank *bank, struct flash_device *dev,
read_sfdp_block_t read_sfdp_block);
/* ... */
#endif