diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2012-07-02 18:00:19 -0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2012-07-16 16:34:37 -0400 |
commit | 4d363b5518dd6298b39653919828eb7d9061488c (patch) | |
tree | 987fd0c9406f58f071809347d100040d12e2e9d7 /drivers/mtd/nand/Kconfig | |
parent | 79f9df7c0027742ae7c913367b6d88dec242fa63 (diff) |
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/Kconfig | 2 |
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 | |||
532 | 532 | ||
533 | config MTD_NAND_MXC | 533 | config MTD_NAND_MXC |
534 | tristate "MXC NAND support" | 534 | tristate "MXC NAND support" |
535 | depends on IMX_HAVE_PLATFORM_MXC_NAND | 535 | depends on ARCH_MXC |
536 | help | 536 | help |
537 | This enables the driver for the NAND flash controller on the | 537 | This enables the driver for the NAND flash controller on the |
538 | MXC processors. | 538 | MXC processors. |