nand: when verify failed, it didn't return an error
commit6de2b2d14b0b80f392d0faa05db915141cbd40cf
authorØyvind Harboe <oyvind.harboe@zylin.com>
Wed, 16 Jun 2010 05:39:46 +0000 (16 07:39 +0200)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Wed, 16 Jun 2010 05:39:46 +0000 (16 07:39 +0200)
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