On 3 April 2013 06:33, Peter Crosthwaite <peter.crosthwa...@xilinx.com> wrote:
> From: Wendy Liang <wendy.li...@xilinx.com>
>
> Usually, nand erase operation has only 2 or 3 address cycles.
> We need to mask s->addr to zero unset stale high-order bytes in the nand 
> address
> before using it as the erase address.
>
> This fixes the NAND erase operation in Linux.
>
> [PC: Generalised to work for any number of address cycles rather than just 3]
>
> Signed-off-by: Wendy Liang <jli...@xilinx.com>
> Signed-off-by: Peter Crosthwaite <peter.crosthwa...@xilinx.com>

I kind of feel like in the long term this is making this code even
more confusing, but at least it fixes the bug and doesn't mess
anything else up.

Applied to arm-devs.next.

thanks
-- PMM

Reply via email to