summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/Kconfig
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2012-07-02 19:00:19 -0300
committerDavid Woodhouse <David.Woodhouse@intel.com>2012-07-16 21:34:37 +0100
commit4d363b5518dd6298b39653919828eb7d9061488c (patch)
tree987fd0c9406f58f071809347d100040d12e2e9d7 /drivers/mtd/nand/Kconfig
parent79f9df7c0027742ae7c913367b6d88dec242fa63 (diff)
downloadblackbird-op-linux-4d363b5518dd6298b39653919828eb7d9061488c.tar.gz
blackbird-op-linux-4d363b5518dd6298b39653919828eb7d9061488c.zip
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 <fabio.estevam@freescale.com> Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Acked-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/nand/Kconfig')
-rw-r--r--drivers/mtd/nand/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
index adee4681f98f..f4e81a7742b8 100644
--- a/drivers/mtd/nand/Kconfig
+++ b/drivers/mtd/nand/Kconfig
@@ -532,7 +532,7 @@ config MTD_NAND_MPC5121_NFC
config MTD_NAND_MXC
tristate "MXC NAND support"
- depends on IMX_HAVE_PLATFORM_MXC_NAND
+ depends on ARCH_MXC
help
This enables the driver for the NAND flash controller on the
MXC processors.
OpenPOWER on IntegriCloud