flash: add error messages upon incorrect arguments to flash iteration
commitcdcb9b0885cdb2ca2a212536ab68acc2e9bc7fad
authorØyvind Harboe <oyvind.harboe@zylin.com>
Tue, 19 Jan 2010 08:47:21 +0000 (19 09:47 +0100)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Tue, 19 Jan 2010 09:58:48 +0000 (19 10:58 +0100)
treebbc1f9630ed147f7696443099a3edc520d702d60
parent5ab34b28ce3378a0a36b122a07af4f0f4769a24f
flash: add error messages upon incorrect arguments to flash iteration

According to OpenOCD error handling rules the error is
logged at where it occurs(same site where an exception
would have been thrown).

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
src/flash/nor/core.c