summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2014-11-24 12:06:49 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2014-11-24 14:04:10 +0100
commit57b584d748d43010c8e0794889115a66c5a1f887 (patch)
treeffe3377388ee10d58d0f495a78e7b0a50ed52f55
parentc617f537687a287ab73967d1397d90f3d864451b (diff)
downloadbarebox-57b584d748d43010c8e0794889115a66c5a1f887.tar.gz
arm: imx: nand update handler depends on MTD layer
Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/arm/mach-imx/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index cdc1dba..53d91bc 100644
--- a/arch/arm/mach-imx/Kconfig
+++ b/arch/arm/mach-imx/Kconfig
@@ -109,12 +109,16 @@ config BAREBOX_UPDATE_IMX_EXTERNAL_NAND
bool
depends on ARCH_IMX_EXTERNAL_BOOT_NAND
depends on BAREBOX_UPDATE
+ depends on MTD
+ depends on MTD_WRITE
default y
config BAREBOX_UPDATE_IMX6_NAND
bool
depends on ARCH_IMX6
depends on BAREBOX_UPDATE
+ depends on MTD
+ depends on MTD_WRITE
default y
comment "Freescale i.MX System-on-Chip"