From: Scott Wood Date: Fri, 29 May 2009 18:10:17 -0500 Subject: [U-Boot] [PATCH] nand/onenand: Fix missing argument checking for "markbad" command In-Reply-To: <1243179273-12314-1-git-send-email-wd@denx.de> References: <1243179273-12314-1-git-send-email-wd@denx.de> Message-ID: <20090529231017.GA4648@b07421-ec1.am.freescale.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 Applied to u-boot-nand-flash/next -Scott