From: Andrey Yurovsky Date: Fri, 10 Feb 2017 18:33:34 +0000 (-0800) Subject: mtd: nand: build MXS driver for MX7 as well X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=f78038dc0d7d15723d7dd523ab02d1fde4486815;p=u-boot.git mtd: nand: build MXS driver for MX7 as well The i.MX7 has the same GPMI controller as i.MX6 and is covered by the MXS driver. Tell Kconfig that we can use this driver on the MX7 platform (the MXS driver already has the few i.MX7-specific changes needed for basic operation and the board itself sets the pinmux correctly). Tested on i.MX7D with the Sabre board and a NAND Flash soldered to U12. Signed-off-by: Andrey Yurovsky --- diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig index 65bb040407..a2ea9b1b6d 100644 --- a/drivers/mtd/nand/Kconfig +++ b/drivers/mtd/nand/Kconfig @@ -82,7 +82,7 @@ config NAND_ARASAN config NAND_MXS bool "MXS NAND support" - depends on MX6 + depends on MX6 || MX7 help This enables NAND driver for the NAND flash controller on the MXS processors.