Skip to content
Snippets Groups Projects
Forked from Reform / reform-boundary-uboot
Source project has a limited visibility.
  • Alex Waterman's avatar
    65a9db7b
    nand_spl: Fix large page nand_command() · 65a9db7b
    Alex Waterman authored
    
    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>
    65a9db7b
    History
    nand_spl: Fix large page nand_command()
    Alex Waterman authored
    
    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>