flash_driver::write field
Program data into the flash. Note CPU address will be "bank->base + offset", while the physical address is dependent upon current target MMU mappings.
Syntax
int (*write)(struct flash_bank *bank,
const uint8_t *buffer, uint32_t offset, uint32_t count);