]> git.sur5r.net Git - openocd/commit
str9x.c: remove optimization when erasing the whole bank
authorLaurentiu Cocanu <laurentiu.cocanu@zylin.com>
Thu, 14 Jan 2010 12:59:36 +0000 (13:59 +0100)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Thu, 14 Jan 2010 14:07:24 +0000 (15:07 +0100)
commit24653c950a18c49d267efb17a36423d9c455a886
treeaf19672b9ac74850cc70aec625bc57d612b6e6d0
parente1679a29f084e3172077d513d14a0fde9ea2ea77
str9x.c: remove optimization when erasing the whole bank

Using the erase bank command will cause a time out error. Replacing
this with the erase sector bank will provide a slower but safer and
stable method to erase the flash.

Signed-off-by: Laurentiu Cocanu <laurentiu.cocanu@zylin.com>
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
src/flash/nor/str9x.c