Large block NAND

David Woodhouse dwmw2 at infradead.org
Mon Mar 22 10:57:49 EST 2004


On Mon, 2004-03-22 at 09:37 -0600, David Updegraff wrote:
> I am looking at the existing 'drivers' in drivers/mtd/nand; am a bit 
> baffled; need help understanding approach.
> 
> The files (spia, autcpu12..) are apparently drivers for particular NAND 
> chips, 

They're not. They're drivers for particular ways wiring up a NAND chip. 

The code in nand.c handles all currently-supported (i.e 8-bit, 256- or
512-byte per page) NAND chips, and uses access functions provided by the
board-specific 'wiring' driver to waggle the control lines, etc.



> but it appears to me that they all call nand_scan in nand.c, 
> which in turn just looks for ids enumerated in nand_ids.h.  Does this 
> not make it necessary to hand-tune which driver you want to compile with 
> nand.c instead of having the drivers themselves control with nand chip 
> they know how to drive -- based on what ID one finds?  Or is the 
> thinking that the quirks of each little embedded gadget to too wierd 
> anyway; so must hand-tune?
> 
> -dbu.
> 
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/

-- 
dwmw2




More information about the linux-mtd mailing list