commit | 3ec9d6eb09ca799f2632a58012ef9603982a642d | [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 | 78ee7b1729f69215a07c44b9895f69bd9a4b58a2 [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>