From: Magnus Lilja Date: Fri, 23 Apr 2010 18:30:49 +0000 (+0200) Subject: i.MX31: Activate NAND support for i.MX31 Litekit board. X-Git-Tag: v2010.09-rc1~1^2~19^2~9^2~6 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=869e8ae0323a48974a476d666aa3d03def744f16;p=oweals%2Fu-boot.git i.MX31: Activate NAND support for i.MX31 Litekit board. Signed-off-by: Magnus Lilja --- diff --git a/include/configs/imx31_litekit.h b/include/configs/imx31_litekit.h index 61310089b7..d58ca8a2a1 100644 --- a/include/configs/imx31_litekit.h +++ b/include/configs/imx31_litekit.h @@ -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 */