[U-Boot] [PATCH] nand/onenand: Fix missing argument checking for "markbad" command

Scott Wood scottwood at freescale.com
Sat May 30 01:10:17 CEST 2009


On Sun, May 24, 2009 at 05:34:33PM +0200, Wolfgang Denk wrote:
> 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 at denx.de>

Applied to u-boot-nand-flash/next

-Scott


More information about the U-Boot mailing list