commit | 65683026a5eb07d6186dc02b33b1e5874dbb6591 | [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 | d2a97daf629a49a416ed405b8c7c2a1e77b99148 [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>