commit | c5e84fac87f339df660b7752de45dd4a69b95ad3 | [log] [tgz] |
---|---|---|
author | Steve Sakoman <steve@sakoman.com> | Fri Dec 03 13:25:43 2010 +0000 |
committer | Scott Wood <scottwood@freescale.com> | Mon Dec 06 18:28:33 2010 -0600 |
tree | 91abd21ebe550f27e0a99ec0d91106db35347e02 | |
parent | e665e45da0414267bfca4988ec0750fe6f74bcb5 [diff] |
env_nand: Use nand_read_skip_bad instead of nand_read The nand-read function returns an error code if correctable errors have occurred. This is not desirable, since the errors have been corrected! This patch switches to the nand_read_skip_bad function which does not return an error code if the errors are correctable. Signed-off-by: Steve Sakoman <steve.sakoman@linaro.org> Acked-by: Scott Wood <scottwood@freescale.com>