]> git.sur5r.net Git - openocd/commit
flash: fix bug with multiple back-to-back flash chips
authorØyvind Harboe <oyvind.harboe@zylin.com>
Mon, 15 Nov 2010 13:43:16 +0000 (14:43 +0100)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Wed, 17 Nov 2010 15:56:28 +0000 (16:56 +0100)
commit2b546fdc45d33a7b407f49b3732d1a57afa60b72
tree6d8613a05216ac9a34f6ce36196bee0a4ae82e48
parent52558354e67e4a2f7884666cf88c899ad9afa05e
flash: fix bug with multiple back-to-back flash chips

flash programming via flash write_image or gdb load would
produce a bogus error message that the flash chip was to
small.

The solution is to limit the current flash programming
run to the current chip.

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