diff options
author | Wolfgang Denk <wd@denx.de> | 2009-05-24 17:34:33 +0200 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2009-07-07 17:58:05 -0500 |
commit | 8360b66bac9567701027a0087274d0c9b2fe8d6b (patch) | |
tree | 6278f88b25ecfd5b12eb9a68e93d8bd2dd77d8f4 /blackfin_config.mk | |
parent | cd84423a09f3a08029fe41c1db96168debd0b51f (diff) | |
download | u-boot-imx-8360b66bac9567701027a0087274d0c9b2fe8d6b.zip u-boot-imx-8360b66bac9567701027a0087274d0c9b2fe8d6b.tar.gz u-boot-imx-8360b66bac9567701027a0087274d0c9b2fe8d6b.tar.bz2 |
nand/onenand: Fix missing argument checking for "markbad" command
The "nand markbad" and "onenand markbad" commands did not check if an
argument was passed; if this was forgotten, no error was raised but
block 0 was marked as bad.
While fixing this bug, clean up the code a bit and allow to pass more
than one block address, thus allowing to mark several blocks as bad
in a single command invocation.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'blackfin_config.mk')
0 files changed, 0 insertions, 0 deletions