NAND Configuration

Thomas Gleixner tglx at linutronix.de
Thu Aug 8 05:28:30 EDT 2002


On Thu, 2002-08-08 at 11:14, David Woodhouse wrote:
> 
> ahennessy at mvista.com said:
> >  From looking at nand_erase(), it appears that the attempted erase of
> > a bad block would result in not performing the erase and exiting with
> > -EIO, correct?
> 
> > What is the preferred method to erase nand? 
> 
> As I understand it, the preferred method to erase factory-marked bad blocks
> is not at all.
nand.c takes care of factory-marked blocks now, wether CONFIG_NAND_ECC_JFFS2 is set of not.
So you can use erase(all) and bad blockes are skipped.

-- 
Thomas 
____________________________________________________
linutronix - competence in embedded & realtime linux
http://www.linutronix.de
mail: tglx at linutronix.de





More information about the linux-mtd mailing list