]> git.ipfire.org Git - people/ms/u-boot.git/commit - common/cmd_nand.c
[NAND] Bad block skipping for command nboot
authorThomas Knobloch <knobloch@siemens.com>
Fri, 6 Jul 2007 12:58:39 +0000 (14:58 +0200)
committerStefan Roese <sr@denx.de>
Fri, 6 Jul 2007 12:58:39 +0000 (14:58 +0200)
commit10e038932f22ee80ebd53de312531e70e6590a2f
tree82886b9cc125d979bd856fa893506bec9d4a0b84
parent461f2274f8d5e15a354ff92648f17c7b2aa76faa
[NAND] Bad block skipping for command nboot

The old implementation of command nboot does not support reading the image from
NAND flash with skipping of bad blocks. The patch implements a new version of
the nboot command: by calling nboot.jffs2 from the u-boot command line the
command will load the image from NAND flash with respect to bad blocks (by using
nand_read_opts()). This is similar to e.g. the NAND read command: "nand
read.jffs2 ...".

Signed-off-by: Thomas Knobloch <knobloch@siemens.com>
Signed-off-by: Stefan Roese <sr@denx.de>
common/cmd_nand.c