flash: fix error handling
commit22911a3aedfa01c7a5643de9c21fbb94f6219c38
authorØyvind Harboe <oyvind.harboe@zylin.com>
Mon, 20 Sep 2010 07:22:46 +0000 (20 09:22 +0200)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Tue, 21 Sep 2010 20:17:38 +0000 (21 22:17 +0200)
tree1b487e740c15ec34b74558a6e5ecc60ed2f30155
parent9aafd42853b4164ea72e6e2f89008ff84b1fac52
flash: fix error handling

sensible error must be reported at failure site

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