summaryrefslogtreecommitdiff
path: root/src/flash/nor/imp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/flash/nor/imp.h')
-rw-r--r--src/flash/nor/imp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/flash/nor/imp.h b/src/flash/nor/imp.h
index 34ccbe4e..de1bc9e5 100644
--- a/src/flash/nor/imp.h
+++ b/src/flash/nor/imp.h
@@ -40,6 +40,8 @@ int flash_driver_erase(struct flash_bank *bank, int first, int last);
int flash_driver_protect(struct flash_bank *bank, int set, int first, int last);
int flash_driver_write(struct flash_bank *bank,
uint8_t *buffer, uint32_t offset, uint32_t count);
+int flash_driver_read(struct flash_bank *bank,
+ uint8_t *buffer, uint32_t offset, uint32_t count);
/* write (optional verify) an image to flash memory of the given target */
int flash_write_unlock(struct target *target, struct image *image,