Message ID
State Accepted
Commit 4d363b5518dd6298b39653919828eb7d9061488c
Headers show

Commit Message

Fabio Estevam July 2, 2012, 9:59 p.m.
From: Fabio Estevam <>

Subject: [PATCH] mtd: mxc_nand: Select the driver via ARCH_MXC

With device tree support in place, we should not use IMX_HAVE_PLATFORM_MXC_NAND
as a dependency for selecting the mxc_nand driver.

Use ARCH_MXC symbol instead, so that the driver can be even selected when a single device-tree
machine is selected.

Signed-off-by: Fabio Estevam <>
 drivers/mtd/nand/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
index de69978..d2a0db1 100644
--- a/drivers/mtd/nand/Kconfig
+++ b/drivers/mtd/nand/Kconfig
@@ -521,7 +521,7 @@  config MTD_NAND_MPC5121_NFC
 config MTD_NAND_MXC
 	tristate "MXC NAND support"
+	depends on ARCH_MXC
 	  This enables the driver for the NAND flash controller on the
 	  MXC processors.