Support for parallel access in nand chips

Radu Corlan rcorlan at pcnet.ro
Tue Feb 26 03:26:29 EST 2002


On Tue, 26 Feb 2002, Thomas Gleixner wrote:

> On Tuesday, 26. February 2002 07:30, Radu Corlan wrote:
> > On our application (a PPC405 embedded system), we use two TC58256 NAND
> > chips conected on a 16-bit bus. we designed it this way in order to
> > increase the read/write speed - it would double our bandwidth. The
> > problem, of course, is that nand.c only accesses the flash 8 bits at a
> > time.
> >
> > We intend to hack nand.c to use the 16-bit access (and make a special
> > entry in nand_chip with a double erase_size), but i'd like to know if
> > anybody thought of supporting the parallel access.
> No. 
> But please don't hack nand.c. Build a nand16.c from nand.c and hack this. 
> Else we get a mess in the code, which was cleaned up a few days ago :)
> And a lot of overhead of 8/16bit decisions. You just have to provide the same 
> functionality as nand.c. You will not need a special entry in nand_chip. The 
> information there is enough. 

ok - i was going to make a separate source anyway. Do you know if the
upper layers mind the 32k erase size?

Radu

> 
> -- 
> Thomas
> __________________________________________________
> Thomas Gleixner, autronix automation GmbH
> auf dem berg 3, d-88690 uhldingen-muehlhofen
> fon: +49 7556 919891 , fax: +49 7556 919886
> mail: gleixner at autronix.de, http://www.autronix.de  
> 
> 

-------------
Radu Corlan           Snail Mail: Bucuresti sect. 1, 
rcorlan at pcnet.ro             str. Argentina nr. 28, 71206 Romania

   You can still escape the "Gates" of Hell!   
                 Use Linux!                       
-------------





More information about the linux-mtd mailing list