[U-Boot] [PATCH] cmd_nand.c: Fix 'nand dump' after latest MTD resync

Tom Rini trini at ti.com
Fri Feb 24 01:55:17 CET 2012


On Thu, Feb 23, 2012 at 3:47 PM, Tom Rini <trini at ti.com> wrote:
> With 2a8e0fc nand_do_read_ops changed in behavior slightly (keeping in sync
> with the kernel which did this change in b64d39d8) such that the OOB data is
> always copied into oobbuf and never appended to datbuf.  Within U-Boot only
> the nand_dump function (for the dump nand subcommand) was expecting the OOB
> data to only be appended to datbuf.  So we now change nand_dump to not
> malloc extra space, correct the comment about datbuf and OOB data and switch
> the pointer to oobbuf before printing.

bah, sorry for the dupe, git send-email lied.

-- 
Tom


More information about the U-Boot mailing list