
Hi
On Wed, Aug 6, 2008 at 2:19 PM, Magnus Lilja lilja.magnus@gmail.com wrote:
Imported from Freescale's Linux NFC driver from the i.MX31 BSP release 5 (Linux 2.6.22.5) and the i.MX31 PDK BSP (Linux 2.6.24).
The code has been changed to conform (better) with the coding style in Linux/U-boot. Sections not used by U-boot have been removed.
The driver has been tested on i.MX31 Litekit (small page NAND) and i.MX31 PDK (large page NAND). Both boards have 8 bit wide NAND devices. 16 bit NAND devices have not been tested and probably requires a minor code change.
Signed-off-by: Magnus Lilja lilja.magnus@gmail.com
cpu/arm1136/mx31/Makefile | 4 +- cpu/arm1136/mx31/mxc_nd.c | 1172 cpu/arm1136/mx31/mxc_nd.h | 106 ++++
A question regarding the placement of the mxc_nd.c file: Shall SoC NAND drivers be placed in drivers/mtd/nand or in cpu/<cputype>/<soc>/ ? I noticed that Guennadi Liakhovetski's patch placed a NAND driver in the mtd/nand directory (drivers/mtd/nand/s3c64xx.c).
Thanks, Magnus