Skip to content
Snippets Groups Projects
Commit 65a9db7b authored by Alex Waterman's avatar Alex Waterman Committed by Scott Wood
Browse files

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: default avatarAlex Waterman <awaterman@dawning.com>
parent 62974546
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment