Skip to contentSkip to conversation

mtd: TXx9 SoC NAND Flash Memory Controller driver

PATCH In review [email protected] 1 participant 1 message Mar 4, 2009

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

PATCH 6/15 mtd: TXx9 SoC NAND Flash Memory Controller driver

From: Atsushi Nemoto <[email protected]>

This patch adds support for the integrated NAND flash controller of the TXx9 family.

Once upon a time there were tx4925ndfmc and tx4938ndfmc driver. They were removed due to bitrot in 2005.
This new driver is completely rewritten based on a driver in CELF patch archive.

---

 drivers/mtd/nand/Kconfig     |    6 
 drivers/mtd/nand/Makefile    |    1 
 drivers/mtd/nand/txx9ndfmc.c |  428 +++++++++++++++++++++++++++++++++
 3 files changed, 435 insertions(+)
drivers/mtd/nand/Kconfig renamed from drivers/mtd/nand/Kconfig~mtd-txx9-soc-nand-flash-memory-controller-driver +6 -0
diff -puN drivers/mtd/nand/Kconfig~mtd-txx9-soc-nand-flash-memory-controller-driver drivers/mtd/nand/Kconfig
@@ -427,4 +427,10 @@ config MTD_NAND_SH_FLCTL
 	  Several Renesas SuperH CPU has FLCTL. This option enables support
 	  for NAND Flash using FLCTL. This driver support SH7723.
 
+config MTD_NAND_TXX9NDFMC
+	tristate "NAND Flash support for TXx9 SoC"
+	depends on SOC_TX4938 || SOC_TX4939
+	help
+	  This enables the NAND flash controller on the TXx9 SoCs.
+
 endif # MTD_NAND
drivers/mtd/nand/Makefile renamed from drivers/mtd/nand/Makefile~mtd-txx9-soc-nand-flash-memory-controller-driver +1 -0
diff -puN drivers/mtd/nand/Makefile~mtd-txx9-soc-nand-flash-memory-controller-driver drivers/mtd/nand/Makefile
@@ -36,5 +36,6 @@ obj-$(CONFIG_MTD_NAND_FSL_ELBC)		+= fsl_
 obj-$(CONFIG_MTD_NAND_FSL_UPM)		+= fsl_upm.o
 obj-$(CONFIG_MTD_NAND_SH_FLCTL)		+= sh_flctl.o
 obj-$(CONFIG_MTD_NAND_MXC)		+= mxc_nand.o
+obj-$(CONFIG_MTD_NAND_TXX9NDFMC)	+= txx9ndfmc.o
 
 nand-objs := nand_base.o nand_bbt.o
drivers/mtd/nand/txx9ndfmc.c new file +428 -0

428 lines not on this page · raw message

_