Skip to contentSkip to conversation

i.MX31: Activate NAND support for i.MX31 Litekit board.

PATCH New Magnus Lilja 2 participants 2 messages Apr 23, 2010 – Apr 24, 2010 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i.MX31: Activate NAND support for i.MX31 Litekit board.

---
 include/configs/imx31_litekit.h |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
include/configs/imx31_litekit.h +10 -0
index 6131008..d58ca8a 100644
@@ -89,6 +89,7 @@
 #define CONFIG_CMD_PING
 #define CONFIG_CMD_SPI
 #define CONFIG_CMD_DATE
+#define CONFIG_CMD_NAND
 
 #define CONFIG_BOOTDELAY	3
 
@@ -174,4 +175,13 @@
 #undef CONFIG_CMD_MTDPARTS
 #define CONFIG_JFFS2_DEV	"nor0"
 
+/*
+ * NAND flash
+ */
+#define CONFIG_NAND_MXC
+#define CONFIG_MXC_NAND_REGS_BASE	NFC_BASE_ADDR
+#define CONFIG_SYS_MAX_NAND_DEVICE	1
+#define CONFIG_SYS_NAND_BASE		NFC_BASE_ADDR
+#define CONFIG_MXC_NAND_HWECC
+
 #endif /* __CONFIG_H */
Signature · 1 line
1.6.4.2
#1 lore raw

PATCH 1/1 i.MX31: Activate NAND support for i.MX31 Litekit board.

Quoted 21 lines · Magnus Lilja
---
 include/configs/imx31_litekit.h |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
include/configs/imx31_litekit.h +1 -0
index 6131008..d58ca8a 100644
@@ -89,6 +89,7 @@
 #define CONFIG_CMD_PING
 #define CONFIG_CMD_SPI
 #define CONFIG_CMD_DATE
+#define CONFIG_CMD_NAND
 
 #define CONFIG_BOOTDELAY	3
 
@@ -174,4 +175,13 @@
 #undef CONFIG_CMD_MTDPARTS
 #define CONFIG_JFFS2_DEV	"nor0"
 

include/configs/imx31_litekit.h line 187

Quoted 10 lines
include/configs/imx31_litekit.h +9 -0
+/*
+ * NAND flash
+ */
+#define CONFIG_NAND_MXC
+#define CONFIG_MXC_NAND_REGS_BASE	NFC_BASE_ADDR
+#define CONFIG_SYS_MAX_NAND_DEVICE	1
+#define CONFIG_SYS_NAND_BASE		NFC_BASE_ADDR
+#define CONFIG_MXC_NAND_HWECC
+
 #endif /* __CONFIG_H */

Applied to u-boot-imx, thanks.

Best regards,
Stefano

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================