diff options
author | Schlaegl Manfred jun <manfred.schlaegl@gmx.at> | 2009-01-20 16:57:55 +0100 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2009-01-23 10:32:52 -0600 |
commit | 389e6620e2271096df3316917528003627db4021 (patch) | |
tree | 3df2ad95074455d1b0ccb1ff7f7459527124354f /cpu/ppc4xx/usb.c | |
parent | 6c869637fef31e66380f0ea1d49690a2e26ec0d7 (diff) | |
download | u-boot-imx-389e6620e2271096df3316917528003627db4021.zip u-boot-imx-389e6620e2271096df3316917528003627db4021.tar.gz u-boot-imx-389e6620e2271096df3316917528003627db4021.tar.bz2 |
nand read.jffs2 (nand_legacy) in common/cmd_nand.c
Error with CONFIG_NAND_LEGACY in common/cmd_nand.c:
With current code "nand read.jffs2s" (read and skip bad blocks) is always interpreted as
"nand read.jffs2" (read and fill bad blocks with 0xff). This is because ".jffs2" is
tested before ".jffs2s" and only the first two characters are compared.
Correction:
Test for ".jffs2s" first and compare the first 7 characters.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'cpu/ppc4xx/usb.c')
0 files changed, 0 insertions, 0 deletions