summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2012-02-23 15:47:46 -0700
committerScott Wood <scottwood@freescale.com>2012-02-28 14:04:54 -0600
commitcfdae12f37ad126d1198f6c1ffa4ada9e69dd206 (patch)
tree46cf89d02d09de2a48b187384e9a6cca54776a0d /include
parent5f720b85141646055c08bbccb0e2549f654563de (diff)
downloadblackbird-obmc-uboot-cfdae12f37ad126d1198f6c1ffa4ada9e69dd206.tar.gz
blackbird-obmc-uboot-cfdae12f37ad126d1198f6c1ffa4ada9e69dd206.zip
cmd_nand.c: Fix 'nand dump' after latest MTD resync
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@freescale.com> Signed-off-by: Tom Rini <trini@ti.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud