Skip to contentSkip to conversation

mtd: delete nomadik_nand driver

PATCH New Linus Walleij 2 participants 2 messages Oct 4, 2012 – Oct 7, 2012

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

PATCH 2/2 mtd: delete nomadik_nand driver

The nomadik_nand driver is really just a subset of the FSMC NAND driver, and there are no users anymore so let's delete it.

Cc Alessandro Rubini <[email protected]>

---
I'm seeking the MTD maintainer(s) ACK for this patch so I can merge it through the ARM SoC tree just after switching the platform to using the FSMC driver.

---
 drivers/mtd/nand/Kconfig                       |   6 -
 drivers/mtd/nand/Makefile                      |   1 -
 drivers/mtd/nand/nomadik_nand.c                | 235 -------------------------
 include/linux/platform_data/mtd-nomadik-nand.h |  16 --
 4 files changed, 258 deletions(-)
 delete mode 100644 drivers/mtd/nand/nomadik_nand.c
 delete mode 100644 include/linux/platform_data/mtd-nomadik-nand.h
drivers/mtd/nand/Kconfig +0 -6
index 598cd0a..ec4acae 100644
@@ -515,12 +515,6 @@ config MTD_NAND_MXC
 	  This enables the driver for the NAND flash controller on the
 	  MXC processors.
 
-config MTD_NAND_NOMADIK
-	tristate "ST Nomadik 8815 NAND support"
-	depends on ARCH_NOMADIK
-	help
-	  Driver for the NAND flash controller on the Nomadik, with ECC.
-
 config MTD_NAND_SH_FLCTL
 	tristate "Support for NAND on Renesas SuperH FLCTL"
 	depends on SUPERH || ARCH_SHMOBILE
drivers/mtd/nand/Makefile +0 -1
index d4b4d87..4d4e33a 100644
@@ -45,7 +45,6 @@ obj-$(CONFIG_MTD_NAND_MXC)		+= mxc_nand.o
 obj-$(CONFIG_MTD_NAND_SOCRATES)		+= socrates_nand.o
 obj-$(CONFIG_MTD_NAND_TXX9NDFMC)	+= txx9ndfmc.o
 obj-$(CONFIG_MTD_NAND_NUC900)		+= nuc900_nand.o
-obj-$(CONFIG_MTD_NAND_NOMADIK)		+= nomadik_nand.o
 obj-$(CONFIG_MTD_NAND_BCM_UMI)		+= bcm_umi_nand.o nand_bcm_umi.o
 obj-$(CONFIG_MTD_NAND_MPC5121_NFC)	+= mpc5121_nfc.o
 obj-$(CONFIG_MTD_NAND_RICOH)		+= r852.o
drivers/mtd/nand/nomadik_nand.c deleted +0 -235

235 lines not on this page · raw message

include/linux/platform_data/mtd-nomadik-nand.h deleted +0 -16
deleted file mode 100644
index c3c8254..0000000
@@ -1,16 +0,0 @@
-#ifndef __ASM_ARCH_NAND_H
-#define __ASM_ARCH_NAND_H
-
-struct nomadik_nand_platform_data {
-	struct mtd_partition *parts;
-	int nparts;
-	int options;
-	int (*init) (void);
-	int (*exit) (void);
-};
-
-#define NAND_IO_DATA	0x40000000
-#define NAND_IO_CMD	0x40800000
-#define NAND_IO_ADDR	0x41000000
-
-#endif				/* __ASM_ARCH_NAND_H */
Signature · 1 line
1.7.11.4
#1 lore raw

PATCH 2/2 mtd: delete nomadik_nand driver

Quoted 10 lines · Linus Walleij

The nomadik_nand driver is really just a subset of the FSMC NAND driver, and there are no users anymore so let's delete it.

Cc Alessandro Rubini <[email protected]>

---
I'm seeking the MTD maintainer(s) ACK for this patch so I can merge it through the ARM SoC tree just after switching the platform to using the FSMC driver.

I've test the fsmc driver on nomadik too

Best Regards,
J.