convert to_flash_erase
2014-02-19 Tom Tromey <tromey@redhat.com> * target-delegates.c: Rebuild. * target.c (target_flash_erase): Unconditionally delegate. * target.h (struct target_ops) <to_flash_erase>: Use TARGET_DEFAULT_NORETURN.
This commit is contained in:
parent
7e35c012fb
commit
e8a6c6ace9
4 changed files with 29 additions and 14 deletions
|
@ -676,7 +676,8 @@ struct target_ops
|
|||
Precondition: both ADDRESS and ADDRESS+LENGTH should be aligned
|
||||
on flash block boundaries, as reported by 'to_memory_map'. */
|
||||
void (*to_flash_erase) (struct target_ops *,
|
||||
ULONGEST address, LONGEST length);
|
||||
ULONGEST address, LONGEST length)
|
||||
TARGET_DEFAULT_NORETURN (tcomplain ());
|
||||
|
||||
/* Finishes a flash memory write sequence. After this operation
|
||||
all flash memory should be available for writing and the result
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue