On Tuesday, 26. March 2002 14:46 , Paul Chitescu wrote: > You will have to write a NAND driver for your hardware or make your > hardware similar enough to that expected by drivers/mtd/nand.c so that you > only have to change the port address. Note this driver assumes some control > bits are accessed via a single r/w register, not by GPIO or something (this > sux, my board uses GPIO). See drivers/mtd/spia.c for an example.
Not the full truth. It's also possible to use a GPIO. There were a lot of changes for nand support in the last time in MTD CVS / MTD BK. We moved the access to CE,ALE,CLE pins to the hardware specific driver. See spia.c and autcpu12.c. Also JFFS2 support for NAND was improved a lot. The changes are not merged to the kernel / arm tree yet. So you have to work from CVS. See also a broad discussion of this issue on [EMAIL PROTECTED] Currently access to maillist and MTD-CVS is broken, but we hope to have it up again soon. (tomorrow) -- Thomas _________________________________ Thomas Gleixner <[EMAIL PROTECTED]> autronix automation http://www.autronix.de _______________________________________________ http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm http://www.arm.linux.org.uk/armlinux/mailinglists.php Please visit the above addresses for information on this list.
