Skip to contentSkip to conversation

mtd: msm_nand: Add initial msm nand driver support.

PATCH Superseded Murali Nalajala 1 participant 1 message Jan 5, 2011

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mtd: msm_nand: Add initial msm nand driver support.

Add initial msm nand driver support for Qualcomm MSM and QSD platforms. This driver is currently capable of handling 2K page nand devices.

This driver is originally developed by 'arve'. Its source is available at
http://android.git.kernel.org/?p=kernel/experimental.git

---
 drivers/mtd/devices/Kconfig    |   10 +
 drivers/mtd/devices/Makefile   |    1 +
 drivers/mtd/devices/msm_nand.c | 1281 ++++++++++++++++++++++++++++++++++++++++
 drivers/mtd/devices/msm_nand.h |   75 +++
 4 files changed, 1367 insertions(+), 0 deletions(-)
 create mode 100644 drivers/mtd/devices/msm_nand.c
 create mode 100644 drivers/mtd/devices/msm_nand.h
drivers/mtd/devices/Kconfig +10 -0
index 35081ce..bcf851f 100644
@@ -49,6 +49,16 @@ config MTD_MS02NV
 	  say M here and read <file:Documentation/kbuild/modules.txt>.
 	  The module will be called ms02-nv.
 
+config MTD_MSM_NAND
+	tristate "MSM on-chip NAND Flash Controller driver"
+	depends on MTD && ARCH_MSM
+	help
+	  This enables the on-chip NAND flash controller driver on Qualcomm's
+	  MSM and QSD platforms.
+
+	  MSM NAND controller is capable of interface to all leading nand
+	  flash vendor devices ie Samsung, Micron, Hynix etc.
+
 config MTD_DATAFLASH
 	tristate "Support for AT45xxx DataFlash"
 	depends on SPI_MASTER && EXPERIMENTAL
drivers/mtd/devices/Makefile +1 -0
index f3226b1..fe959e8 100644
@@ -11,6 +11,7 @@ obj-$(CONFIG_MTD_SLRAM)		+= slram.o
 obj-$(CONFIG_MTD_PHRAM)		+= phram.o
 obj-$(CONFIG_MTD_PMC551)	+= pmc551.o
 obj-$(CONFIG_MTD_MS02NV)	+= ms02-nv.o
+obj-$(CONFIG_MTD_MSM_NAND)	+= msm_nand.o
 obj-$(CONFIG_MTD_MTDRAM)	+= mtdram.o
 obj-$(CONFIG_MTD_LART)		+= lart.o
 obj-$(CONFIG_MTD_BLOCK2MTD)	+= block2mtd.o
drivers/mtd/devices/msm_nand.c new file +1281 -0

1,281 lines not on this page · raw message

drivers/mtd/devices/msm_nand.h new file +75 -0

75 lines not on this page · raw message

--
1.7.3.4

--
Sent by a consultant of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.