commit | 4b0dbbab12439f320e2a5e4b26d268b1d2bf544b | [log] [tgz] |
---|---|---|
author | Benoît Thébaudeau <benoit.thebaudeau@advansee.com> | Thu Apr 11 09:35:41 2013 +0000 |
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | Fri Apr 12 07:55:05 2013 +0200 |
tree | 537e1515ec976485d18d2edb8a196a1f9e328b4a | |
parent | 9889e3f5abe0f817f2d5804493e6be09586fde5a [diff] |
nand: mxc: Use appropriate page number in syndrome functions The syndrome functions should use the page number passed as argument instead of the page number saved upon NAND_CMD_READ0. This does not make any difference if the NAND_NO_AUTOINCR option is set, but otherwise this fixes accesses to the wrong pages. Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com> Acked-by: Scott Wood <scottwood@freescale.com>