#define OPENOCD_FLASH_NOR_CORE_H
#include <flash/common.h>
image
flash_sector
offset
size
is_erased
is_protected
#define FLASH_WRITE_ALIGN_SECTOR
#define FLASH_WRITE_CONTINUOUS
#define FLASH_WRITE_GAP_SECTOR
flash_bank
name
target
driver
flash_driver
driver_priv
bank_number
base
size
chip_width
bus_width
erased_value
default_padded_value
write_start_alignment
write_end_alignment
minimal_write_gap
num_sectors
sectors
num_prot_blocks
prot_blocks
next
flash_register_commands(struct command_context *);
flash_erase_address_range(struct target *, bool, target_addr_t, uint32_t);
flash_unlock_address_range(struct target *, target_addr_t, uint32_t);
flash_write_align_start(struct flash_bank *, target_addr_t);
flash_write_align_end(struct flash_bank *, target_addr_t);
flash_write(struct target *, struct image *, uint32_t *, bool);
flash_set_dirty();
flash_get_bank_count();
default_flash_free_driver_priv(struct flash_bank *);
flash_free_all_banks();
default_flash_read(struct flash_bank *, uint8_t *, uint32_t, uint32_t);
default_flash_verify(struct flash_bank *, const uint8_t *, uint32_t, uint32_t);
default_flash_blank_check(struct flash_bank *);
get_flash_bank_by_name(const char *, struct flash_bank **);
get_flash_bank_by_name_noprobe(const char *);
get_flash_bank_by_num(unsigned int, struct flash_bank **);
flash_command_get_bank(struct command_invocation *, unsigned int, struct flash_bank **);
flash_command_get_bank_probe_optional(struct command_invocation *, unsigned int, struct flash_bank **, bool);
get_flash_bank_by_num_noprobe(unsigned int);
get_flash_bank_by_addr(struct target *, target_addr_t, bool, struct flash_bank **);
alloc_block_array(uint32_t, uint32_t, unsigned int);
report_flash_progress(const char *, uint64_t, uint64_t, const char *)