]> git.sur5r.net Git - openocd/commit
cfi_protect is not implemented on Spansion flashes (many do not even have protection...
authorMichael Schwingen <michael@schwingen.org>
Sun, 2 Jan 2011 20:01:20 +0000 (21:01 +0100)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Sun, 2 Jan 2011 20:15:27 +0000 (21:15 +0100)
commit09a0a69c09022258a00b3971fe708067d9977402
tree1582833c3e69562d7576eb346fc6c63532d36dc9
parentd8ece229f9f06e66ad994ca996148912dc0b76b5
cfi_protect is not implemented on Spansion flashes (many do not even have protection bits). Demote from error to warning, so that common board code can use "flash write_image erase unlock" regardless of the flash type.

Signed-off-by: Michael Schwingen <michael@schwingen.org>
src/flash/nor/cfi.c