11 #ifndef OPENOCD_FLASH_NOR_DRIVER_H
12 #define OPENOCD_FLASH_NOR_DRIVER_H
16 #define __FLASH_BANK_COMMAND(name) \
17 COMMAND_HELPER(name, struct flash_bank *bank)
230 #define FLASH_BANK_COMMAND_HANDLER(name) \
231 static __FLASH_BANK_COMMAND(name)
const struct flash_driver at91sam4l_flash
const struct flash_driver xmc1xxx_flash
const struct flash_driver stm32f2x_flash
const struct flash_driver at91samd_flash
const struct flash_driver ambiqmicro_flash
const struct flash_driver renesas_rpchf_flash
const struct flash_driver em357_flash
const struct flash_driver rsl10_flash
const struct flash_driver at91sam7_flash
const struct flash_driver str9x_flash
const struct flash_driver eneispif_flash
const struct flash_driver sim3x_flash
const struct flash_driver pic32mx_flash
const struct flash_driver jtagspi_flash
const struct flash_driver fespi_flash
const struct flash_driver lpc2900_flash
const struct flash_driver lpc2000_flash
const struct flash_driver nrf5_flash
const struct flash_driver atsamv_flash
const struct flash_driver niietcm4_flash
const struct flash_driver rp2040_flash
const struct flash_driver psoc6_flash
const struct flash_driver qn908x_flash
const struct flash_driver bluenrgx_flash
const struct flash_driver swm050_flash
const struct flash_driver msp432_flash
const struct flash_driver stmsmi_flash
const struct flash_driver str9xpec_flash
const struct flash_driver avr_flash
const struct flash_driver cc3220sf_flash
const struct flash_driver xcf_flash
const struct flash_driver fm3_flash
const struct flash_driver sh_qspi_flash
const struct flash_driver at91sam3_flash
const struct flash_driver numicro_flash
const struct flash_driver * flash_driver_find_by_name(const char *name)
Find a NOR flash driver by its name.
const struct flash_driver mrvlqspi_flash
const struct flash_driver virtual_flash
const struct flash_driver efm32_flash
const struct flash_driver psoc5lp_flash
const struct flash_driver xmc4xxx_flash
const struct flash_driver ath79_flash
const struct flash_driver kinetis_ke_flash
const struct flash_driver stellaris_flash
const struct flash_driver kinetis_flash
const struct flash_driver npcx_flash
const struct flash_driver psoc4_flash
const struct flash_driver aducm360_flash
const struct flash_driver lpcspifi_flash
const struct flash_driver dsp5680xx_flash
const struct flash_driver atsame5_flash
const struct flash_driver stm32l4x_flash
const struct flash_driver psoc5lp_nvl_flash
const struct flash_driver psoc5lp_eeprom_flash
const struct flash_driver w600_flash
const struct flash_driver max32xxx_flash
const struct flash_driver cfi_flash
const struct flash_driver aduc702x_flash
const struct flash_driver lpc288x_flash
const struct flash_driver str7x_flash
const struct flash_driver faux_flash
const struct flash_driver stm32lx_flash
const struct flash_driver stm32h7x_flash
const struct flash_driver fm4_flash
const struct flash_driver at91sam4_flash
const struct flash_driver esirisc_flash
const struct flash_driver cc26xx_flash
const struct flash_driver ocl_flash
const struct flash_driver mdr_flash
const struct flash_driver tms470_flash
const struct flash_driver stmqspi_flash
const struct flash_driver stm32f1x_flash
const struct flash_driver nrf51_flash
When run_command is called, a new instance will be created on the stack, filled with the proper value...
Provides details of a flash bank, available either on-chip or through a major interface.
Provides the implementation-independent structure that defines all of the callbacks required by OpenO...
const struct command_registration * commands
An array of driver-specific commands to register.
int(* protect)(struct flash_bank *bank, int set, unsigned int first, unsigned int last)
Bank/sector protection routine (target-specific).
int(* auto_probe)(struct flash_bank *bank)
A more gentle flavor of flash_driver::probe, performing setup with less noise.
const char * usage
Gives a human-readable description of arguments.
int(* erase_check)(struct flash_bank *bank)
Check the erasure status of a flash bank.
int(* info)(struct flash_bank *bank, struct command_invocation *cmd)
Display human-readable information about the flash bank.
void(* free_driver_priv)(struct flash_bank *bank)
Deallocates private driver structures.
int(* write)(struct flash_bank *bank, const uint8_t *buffer, uint32_t offset, uint32_t count)
Program data into the flash.
int(* probe)(struct flash_bank *bank)
Probe to determine what kind of flash is present.
int(* erase)(struct flash_bank *bank, unsigned int first, unsigned int last)
Bank/sector erase routine (target-specific).
__FLASH_BANK_COMMAND((*flash_bank_command))
Finish the "flash bank" command for bank.
int(* read)(struct flash_bank *bank, uint8_t *buffer, uint32_t offset, uint32_t count)
Read data from the flash.
int(* verify)(struct flash_bank *bank, const uint8_t *buffer, uint32_t offset, uint32_t count)
Verify data in flash.
int(* protect_check)(struct flash_bank *bank)
Determine if the specific bank is "protected" or not.
const char * name
Gives a human-readable name of this flash driver, This field is used to select and initialize the dri...