]> git.sur5r.net Git - openocd/commit
nand: when verify failed, it didn't return an error
authorØyvind Harboe <oyvind.harboe@zylin.com>
Wed, 16 Jun 2010 05:39:46 +0000 (07:39 +0200)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Wed, 16 Jun 2010 05:39:46 +0000 (07:39 +0200)
commit6de2b2d14b0b80f392d0faa05db915141cbd40cf
treee1f904a9ca0a22693bbb1e5b47656558c02607de
parent72d227cd5e32a6b141026e31ca4702cd69c79e62
nand: when verify failed, it didn't return an error

when the verify failed, it didn't return an error,
which breaks e.g. tcl scripts that rely on this for
exceptions to work.

Found by -Wshadow

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