]> git.sur5r.net Git - openocd/commit
cfi: leave check on whether target is running to target_write_memory()
authorØyvind Harboe <oyvind.harboe@zylin.com>
Wed, 27 Apr 2011 21:02:28 +0000 (23:02 +0200)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Wed, 27 Apr 2011 21:02:28 +0000 (23:02 +0200)
commit36d60ee6c8d3aa1865dac2378c481954ba402910
tree3abe4b30098b1324b8a0036c98d780c7e084ace3
parent5bd1f0bad4086072f9abffc5c7814511b1456b72
cfi: leave check on whether target is running to target_write_memory()

there was a check in clearing the status register that
called exit() if the target was running. target_write_memory()
has such a check and will report the error correctly.

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