Regarding NAND driver based on PrimeCell Static Memory Controller (PL350 series)

Divyanshu Verma dverma at broadcom.com
Mon Jul 14 06:33:57 EDT 2008


 
Hi,
I am trying to implement a NAND driver for our SOC. The problem I am
facing is that, our NAND controller does not allow me to have access to
hardware specific control line. In other words, I cannot follow the
mechanism given on http://www.linux-mtd.infradead.org/ for NAND driver
as I cannot write  "my_nand_hwcontrol"  function. The H/w guys say that
all this is taken care in the controller itself.

I then decided to identify the NAND Chip as a MTD_BLOCK device, so that
I  will not require any Hwcontrol function. Now for doing so, is it
possible to write a kernel module for NAND which can use functions
exported by mtd/mtd_blkdevs.c ?

  
My very  cordial thanks for any heads up on this as I am struggling for
a long time.

Just for info I am using ARM PrimeCell Static Memory Controller (PL350
series) as NAND controller.They way h/w guys have designed it is that it
doesn't provide me access to HWCONTROL functions.


Thanks and regards,
Divyanshu 




More information about the linux-mtd mailing list