commit | de95b32c9e8bf11f461a6f741525496ff08e5b18 | [log] [tgz] |
---|---|---|
author | Liu, Wentao <wentao.liu@intel.com> | Tue Jan 17 19:55:02 2012 +0000 |
committer | Scott Wood <scott@tyr.buserror.net> | Fri May 18 18:08:45 2012 -0500 |
tree | c825e42a95025e9667cadd20dc048d88a71a8075 | |
parent | 4ede022a9413c622f3c3d4d85c19353040d0bc0b [diff] |
nand_util: correct YAFFS image write function In function nand_write_skip_bad(),for YAFFS filesystem part, write_oob() will return 0 when success, so when rval equals 0, it should continue to write the next page, and no break. Signed-off-by: Wentao, Liu <wentao.liu@intel.com> Acked-by: Lei Wen <leiwen@marvell.com> Signed-off-by: Scott Wood <scott@tyr.buserror.net>