/// Registers the 'flash' subsystem commands
int flash_register_commands(struct command_context *cmd_ctx);
/// Registers the 'flash' subsystem commands
int flash_register_commands(struct command_context *cmd_ctx);
*/
int flash_write(struct target *target,
struct image *image, uint32_t *written, int erase);
*/
int flash_write(struct target *target,
struct image *image, uint32_t *written, int erase);
/**
* Forces targets to re-examine their erase/protection state.
* This routine must be called when the system may modify the status.
/**
* Forces targets to re-examine their erase/protection state.
* This routine must be called when the system may modify the status.