7 #ifndef OPENOCD_FLASH_NOR_SFDP_H
8 #define OPENOCD_FLASH_NOR_SFDP_H
19 uint32_t words, uint32_t *
buffer);
int spi_sfdp(struct flash_bank *bank, struct flash_device *dev, read_sfdp_block_t read_sfdp_block)
int(* read_sfdp_block_t)(struct flash_bank *bank, uint32_t addr, uint32_t words, uint32_t *buffer)
static int read_sfdp_block(struct flash_bank *bank, uint32_t addr, uint32_t words, uint32_t *buffer)
Provides details of a flash bank, available either on-chip or through a major interface.