stm32: return early upon block write failure
commitfc4e001de34029ca6451038a351b433677d4f388
authorØyvind Harboe <oyvind.harboe@zylin.com>
Mon, 8 Nov 2010 15:53:24 +0000 (8 16:53 +0100)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Tue, 9 Nov 2010 07:12:51 +0000 (9 08:12 +0100)
treeb81b76346afec839e3de30463e165bfcbdb565e1
parent6ef3d4ccfe2ac017c26072101059628baf99f318
stm32: return early upon block write failure

only if we do not have enough ram do we continue.

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