Skip to contentSkip to conversation

ndfc driver

PATCH New Sean MacLennan 1 participant 1 message Oct 30, 2008

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

PATCH 1/1 ndfc driver

The current ndfc driver only compiles under arch/ppc. This arch was merged with arch/powerpc and then removed from the kernel. I notice the entry for the ndfc in Kconfig has been removed in 2.6.28.

This patch converts the ndfc to a proper OF (OpenFirmware) driver. I can give a working example of the DTS if needed.

The patch has been in production use on the PIKA Warp Appliance. The Warp basically boots from NAND, so the ndfc driver is very important to us.

Cheers,
Sean MacLennan

Port of the ndfc driver to an of platform driver.

---

drivers/mtd/nand/Kconfig +7 -0
index 1c2e945..5705f85 100644
@@ -163,6 +163,13 @@ config MTD_NAND_S3C2410_HWECC
 	  incorrect ECC generation, and if using these, the default of
 	  software ECC is preferable.
 
+config MTD_NAND_NDFC
+	tristate "NDFC NanD Flash Controller"
+	depends on 4xx
+	select MTD_NAND_ECC_SMC
+	help
+	 NDFC Nand Flash Controllers are integrated in IBM/AMCC's 4xx SoCs
+
 config MTD_NAND_S3C2410_CLKSTOP
 	bool "S3C2410 NAND IDLE clock stop"
 	depends on MTD_NAND_S3C2410
drivers/mtd/nand/ndfc.c +110 -136

376 lines not on this page · raw message