Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Librem5
uboot-imx
Commits
9bcf2ab4
Commit
9bcf2ab4
authored
Aug 12, 2005
by
Stefan Roese
Browse files
Fix problem in cmd_nand.c (only when defined CFG_NAND_SKIP_BAD_DOT_I)
Patch by Matthias Fuchs, 4 May 2005
parent
dafba16e
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGELOG
View file @
9bcf2ab4
...
...
@@ -2,6 +2,9 @@
Changes for U-Boot 1.1.3:
======================================================================
* Fix problem in cmd_nand.c (only when defined CFG_NAND_SKIP_BAD_DOT_I)
Patch by Matthias Fuchs, 4 May 2005
* Update AMCC Yosemite to get a consistent setup for all AMCC eval
boards (baudrate, environment...). Flash driver fixed.
Patch by Stefan Roese, 11 Aug 2005
...
...
common/cmd_nand.c
View file @
9bcf2ab4
...
...
@@ -225,10 +225,11 @@ int do_nand (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
#ifdef CFG_NAND_SKIP_BAD_DOT_I
/* need ".i" same as ".jffs2s" for compatibility with older units (esd) */
/* ".i" for image -> read skips bad block (no 0xff) */
else
if
(
cmdtail
&&
!
strcmp
(
cmdtail
,
".i"
))
else
if
(
cmdtail
&&
!
strcmp
(
cmdtail
,
".i"
))
{
cmd
|=
NANDRW_JFFS2
;
/* skip bad blocks (on read too) */
if
(
cmd
&
NANDRW_READ
)
cmd
|=
NANDRW_JFFS2_SKIP
;
/* skip bad blocks (on read too) */
}
#endif
/* CFG_NAND_SKIP_BAD_DOT_I */
else
if
(
cmdtail
)
{
printf
(
"Usage:
\n
%s
\n
"
,
cmdtp
->
usage
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment