[PATCH 09/20] arm: imx: nand update handler depends on MTD layer

Lucas Stach l.stach at pengutronix.de
Mon Nov 24 03:06:49 PST 2014


Signed-off-by: Lucas Stach <l.stach at pengutronix.de>
---
 arch/arm/mach-imx/Kconfig | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index 39637bee8b6d..632fc203c661 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"
-- 
2.1.1




More information about the barebox mailing list