diff options
author | Jon Povey <jon.povey@racelogic.co.uk> | 2010-05-17 16:15:35 +0900 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-05-18 09:23:48 +0200 |
commit | fafed75d9831c8038c5504fc94e941f0ee9770e5 (patch) | |
tree | 838bcdf951c5b81d8277476b1146e2ae9c6b3c9c /src/flash/nand/s3c6400.c | |
parent | 3ecc191b361d913d3bdf156568454de57f093aee (diff) | |
download | openocd_libswd-fafed75d9831c8038c5504fc94e941f0ee9770e5.tar.gz openocd_libswd-fafed75d9831c8038c5504fc94e941f0ee9770e5.tar.bz2 openocd_libswd-fafed75d9831c8038c5504fc94e941f0ee9770e5.tar.xz openocd_libswd-fafed75d9831c8038c5504fc94e941f0ee9770e5.zip |
NAND: catch read errors when building BBT
nand_build_bbt() was ignoring the return value from nand_read_page() and
blindly continuing.
It now passes the return value up to the caller if the read fails.
Signed-off-by: Jon Povey <jon.povey@racelogic.co.uk>
Diffstat (limited to 'src/flash/nand/s3c6400.c')
0 files changed, 0 insertions, 0 deletions