Skip to contentSkip to conversation

mmp: add nand support to pxa168

PATCH New Lei Wen 1 participant 1 message May 31, 2010

Subsystems (3)
lore
Share & tools
lore

Lei Wen

author
#0 lore raw

PATCH 8/25 mmp: add nand support to pxa168

---
 arch/arm/configs/pxa168_defconfig |    9 ++++++++-
 drivers/mtd/nand/Kconfig          |    2 +-
 2 files changed, 9 insertions(+), 2 deletions(-)
(quoted diff) +0 -0

b/arch/arm/configs/pxa168_defconfig
index 113511f..a01ea99 100644

arch/arm/configs/pxa168_defconfig +8 -1
@@ -438,7 +438,14 @@ CONFIG_EXTRA_FIRMWARE=""
 # CONFIG_DEBUG_DEVRES is not set
 # CONFIG_SYS_HYPERVISOR is not set
 # CONFIG_CONNECTOR is not set
-# CONFIG_MTD is not set
+CONFIG_MTD=y
+CONFIG_MTD_PARTITIONS=y
+CONFIG_MTD_CMDLINE_PARTS=y
+CONFIG_MTD_CHAR=y
+CONFIG_MTD_BLKDEVS=y
+CONFIG_MTD_BLOCK=y
+CONFIG_MTD_NAND=y
+CONFIG_MTD_NAND_PXA3xx=y
 # CONFIG_PARPORT is not set
 # CONFIG_BLK_DEV is not set
 # CONFIG_MISC_DEVICES is not set
drivers/mtd/nand/Kconfig +1 -1
index 9a35d92..0d29b5d 100644
@@ -394,7 +394,7 @@ endchoice
 
 config MTD_NAND_PXA3xx
 	tristate "Support for NAND flash devices on PXA3xx"
-	depends on MTD_NAND && (PXA3xx || ARCH_MMP)
+	depends on MTD_NAND && PLAT_PXA
 	help
 	  This enables the driver for the NAND flash device found on
 	  PXA3xx processors
Signature · 1 line
1.7.0.4