[U-Boot] [PATCH] cmd_nand.c: Fix 'nand dump' after latest MTD resync
Scott Wood
scottwood at freescale.com
Tue Feb 28 21:56:07 CET 2012
On 02/23/2012 04:47 PM, Tom Rini 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.
>
> Cc: Scott Wood <scottwood at freescale.com>
> Signed-off-by: Tom Rini <trini at ti.com>
> ---
> common/cmd_nand.c | 5 +++--
> 1 files changed, 3 insertions(+), 2 deletions(-)
Applied to u-boot-nand-flash
-Scott
More information about the U-Boot
mailing list