Skip to contentSkip to conversation

mtd: add OMAP2/OMAP3 NAND driver

PATCH In review [email protected] 1 participant 1 message May 12, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 13/14 mtd: add OMAP2/OMAP3 NAND driver

From: Vimal Singh <[email protected]>

This driver is present in the OMAP tree, now pushing it to MTD.

Original author(s):
Jian Zhang <[email protected]>

Cc Jian Zhang <[email protected]>
Cc David Woodhouse <[email protected]>
Cc Artem Bityutskiy <[email protected]>

---

 drivers/mtd/nand/Kconfig  |    6 
 drivers/mtd/nand/Makefile |    1 
 drivers/mtd/nand/omap2.c  |  776 ++++++++++++++++++++++++++++++++++++
 3 files changed, 783 insertions(+)
drivers/mtd/nand/Kconfig renamed from drivers/mtd/nand/Kconfig~mtd-add-omap2-omap3-nand-driver +6 -0
diff -puN drivers/mtd/nand/Kconfig~mtd-add-omap2-omap3-nand-driver drivers/mtd/nand/Kconfig
@@ -74,6 +74,12 @@ config MTD_NAND_AMS_DELTA
 	help
 	  Support for NAND flash on Amstrad E3 (Delta).
 
+config MTD_NAND_OMAP2
+	tristate "NAND Flash device on OMAP2 and OMAP3"
+	depends on ARM && MTD_NAND && (ARCH_OMAP2 || ARCH_OMAP3)
+	help
+          Support for NAND flash on Texas Instruments OMAP2 and OMAP3 platforms.
+
 config MTD_NAND_TS7250
 	tristate "NAND Flash device on TS-7250 board"
 	depends on MACH_TS72XX
drivers/mtd/nand/Makefile renamed from drivers/mtd/nand/Makefile~mtd-add-omap2-omap3-nand-driver +1 -0
diff -puN drivers/mtd/nand/Makefile~mtd-add-omap2-omap3-nand-driver drivers/mtd/nand/Makefile
@@ -25,6 +25,7 @@ obj-$(CONFIG_MTD_NAND_CS553X)		+= cs553x
 obj-$(CONFIG_MTD_NAND_NDFC)		+= ndfc.o
 obj-$(CONFIG_MTD_NAND_ATMEL)		+= atmel_nand.o
 obj-$(CONFIG_MTD_NAND_GPIO)		+= gpio.o
+obj-$(CONFIG_MTD_NAND_OMAP2) 		+= omap2.o
 obj-$(CONFIG_MTD_NAND_CM_X270)		+= cmx270_nand.o
 obj-$(CONFIG_MTD_NAND_BASLER_EXCITE)	+= excite_nandflash.o
 obj-$(CONFIG_MTD_NAND_PXA3xx)		+= pxa3xx_nand.o
drivers/mtd/nand/omap2.c new file +776 -0

776 lines not on this page · raw message

_