i.MX31: Activate NAND support for i.MX31 Litekit board.
authorMagnus Lilja <lilja.magnus@gmail.com>
Fri, 23 Apr 2010 18:30:49 +0000 (20:30 +0200)
committerStefano Babic <sbabic@denx.de>
Wed, 5 May 2010 07:48:41 +0000 (09:48 +0200)
Signed-off-by: Magnus Lilja <lilja.magnus@gmail.com>
include/configs/imx31_litekit.h

index 61310089b7b0bf2af2eb4e5117435939f329d7a1..d58ca8a2a10e1bb7f6e7140cd95eaad4245a5277 100644 (file)
@@ -89,6 +89,7 @@
 #define CONFIG_CMD_PING
 #define CONFIG_CMD_SPI
 #define CONFIG_CMD_DATE
+#define CONFIG_CMD_NAND
 
 #define CONFIG_BOOTDELAY       3
 
 #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 */