Skip to contentSkip to conversation

mtd: nand: build MXS driver for MX7 as well

PATCH New Andrey Yurovsky 2 participants 2 messages Feb 10, 2017 – Feb 19, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 drivers/mtd/nand/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mtd/nand/Kconfig +1 -1
index 65bb040..a2ea9b1 100644
@@ -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.
Signature · 1 line
2.9.3
#1 lore raw

PATCH 1/1 mtd: nand: build MXS driver for MX7 as well

Quoted 18 lines · Andrey Yurovsky

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.

---
 drivers/mtd/nand/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mtd/nand/Kconfig +0 -0
index 65bb040..a2ea9b1 100644

drivers/mtd/nand/Kconfig config NAND_ARASAN · line 88

Quoted 8 lines
drivers/mtd/nand/Kconfig +1 -1
@@ -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.

Applied to u-boot-imx, thanks !

Best regards,
Stefano Babic

Signature · 8 lines
Meet DENX at the Embedded World Trade Show
14 Mar - 16 Mar 2017, Nuremberg Trade Fair Centre, Hall 4, Booth 581
--
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================