diff options
author | Magnus Lilja <lilja.magnus@gmail.com> | 2010-04-23 20:30:49 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2010-05-05 09:48:41 +0200 |
commit | ba6adeb48e71f7f1b791b6e98999a5680d919b26 (patch) | |
tree | d13c3ace7ea1987a18ee96de9bb320edc6206725 /include | |
parent | 60381d687885c0e2100657ca73e97e38c4604f5e (diff) | |
download | u-boot-imx-ba6adeb48e71f7f1b791b6e98999a5680d919b26.zip u-boot-imx-ba6adeb48e71f7f1b791b6e98999a5680d919b26.tar.gz u-boot-imx-ba6adeb48e71f7f1b791b6e98999a5680d919b26.tar.bz2 |
i.MX31: Activate NAND support for i.MX31 Litekit board.
Signed-off-by: Magnus Lilja <lilja.magnus@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/imx31_litekit.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/configs/imx31_litekit.h b/include/configs/imx31_litekit.h index 6131008..d58ca8a 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 */ |