commit | 6e1a80a2b5041afd422f22f123641ec6a7922071 | [log] [tgz] |
---|---|---|
author | Alex Waterman <awaterman@dawning.com> | Wed Apr 06 16:01:52 2011 -0400 |
committer | Scott Wood <scottwood@freescale.com> | Fri Apr 15 15:53:11 2011 -0500 |
tree | 72b55838665f15e88417bd482503ed60b94fb651 | |
parent | 2da4f65ff9bdf45b69bfd7baf60f1277e8541266 [diff] |
nand_spl: Fix large page nand_command() This patch changes the large page nand_command() routine to use a word offset instead of a byte offset. The 'offs' argument gets divided by 2 so that the offset passed to nand_command() is still by byte offset. Originally, the offset was not shifted and when too high an offset was requested the nand chip would attempt to read non-existent data. Signed-off-by: Alex Waterman <awaterman@dawning.com>