diff options
Diffstat (limited to 'src/flash/nor/core.h')
-rw-r--r-- | src/flash/nor/core.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/flash/nor/core.h b/src/flash/nor/core.h index b164b8d..98763b7 100644 --- a/src/flash/nor/core.h +++ b/src/flash/nor/core.h @@ -122,6 +122,10 @@ int flash_erase_address_range(struct target *target, */ int flash_write(struct target *target, struct image *image, uint32_t *written, int erase); + +/* invalidate cached state (targets may modify their own flash) */ +void nor_resume(struct target *target); + /** * Forces targets to re-examine their erase/protection state. * This routine must be called when the system may modify the status. |