Handling multiple NAND chips -- take 2

jasmine at linuxgrrls.org jasmine at linuxgrrls.org
Wed Feb 25 13:29:33 EST 2004


On Wed, 25 Feb 2004, David Woodhouse wrote:

> On Wed, 2004-02-25 at 18:44 +0100, J.D. Bakker wrote:
> > This is the plan; fire at will.
> 
> Why? What'd poor Will do wrong? 

He's a no-good commie.

> I think that's acceptable. It's _definitely_ OK on NOR. On NAND we may
> be sharing some control lines between different chips, but I still think
> it's OK and we can deal with that in the board-level driver.

What if you have a board with an onboard NAND (for the OS) and a 
SmartMedia slot?  That's surprisingly common.  It's very difficult to buy 
consistent Smartmedia cards, too-  they often have different parts in 
them during a run.

> > chip = global_page_addr / pages_per_chip;
> > page = global_page_addr % pages_per_chip;
> 
> I think so. I prefer it to the other.

divide not shift?

-J.




More information about the linux-mtd mailing list