Skip to contentSkip to conversation

mtd: remove dead Kconfig associated with !CONFIG_PPC_MERGE

PATCH In review Kumar Gala 2 participants 2 messages Oct 10, 2008

Subsystems (2)
lore
Share & tools
lore

Kumar Gala

author
#0 lore raw

PATCH 1/1 mtd: remove dead Kconfig associated with !CONFIG_PPC_MERGE

Removed the Kconfig associated with 'NDFC NanD Flash Controller'. We can't enable !CONFIG_PPC_MERGE so there is no way to enable this. Additionally the code needs to get updated for arch/powerpc.

For the time being lets just remove the Kconfig option so we can actually remove CONFIG_PPC_MERGE.

---
 drivers/mtd/nand/Kconfig |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
drivers/mtd/nand/Kconfig +0 -7
index 41f361c..1acdff7 100644
@@ -163,13 +163,6 @@ 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 && !PPC_MERGE
-	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
Signature · 1 line
1.5.5.1
Acked-by on v1 1/1
#1 lore raw
Quoted 8 lines · Kumar Gala

Removed the Kconfig associated with 'NDFC NanD Flash Controller'. We can't enable !CONFIG_PPC_MERGE so there is no way to enable this. Additionally the code needs to get updated for arch/powerpc.

For the time being lets just remove the Kconfig option so we can actually remove CONFIG_PPC_MERGE.

The driver does need fixing, and there are patches for it. We just haven't settled on an implementation yet so:

Quoted 29 lines

---
drivers/mtd/nand/Kconfig | 7 -------

1 files changed, 0 insertions(+), 7 deletions(-)
drivers/mtd/nand/Kconfig +0 -7
index 41f361c..1acdff7 100644
@@ -163,13 +163,6 @@ 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 && !PPC_MERGE
-	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
Signature · 6 lines
1.5.5.1

_______________________________________________
Linuxppc-dev mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-dev