diff options
author | Lauri Hintsala <lauri.hintsala@bluegiga.com> | 2012-04-17 00:35:46 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-05-15 08:31:33 +0200 |
commit | ecb7be2985e130d1d3f7569f086cf50bfe60d337 (patch) | |
tree | 70f9b9f987477270b304ec9f97aaaa02ef3e3011 /include/configs | |
parent | 3f29d96218d985268c46a6821ba893d1ea2cbc8c (diff) | |
download | u-boot-imx-ecb7be2985e130d1d3f7569f086cf50bfe60d337.zip u-boot-imx-ecb7be2985e130d1d3f7569f086cf50bfe60d337.tar.gz u-boot-imx-ecb7be2985e130d1d3f7569f086cf50bfe60d337.tar.bz2 |
mx28evk: add NAND support
NAND support is not enabled by default because Eval Kit is not delivered
with NAND chip. To enable NAND support add CONFIG_CMD_NAND to board config.
Signed-off-by: Lauri Hintsala <lauri.hintsala@bluegiga.com>
Acked-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/mx28evk.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/configs/mx28evk.h b/include/configs/mx28evk.h index 31dc718..5cd9730 100644 --- a/include/configs/mx28evk.h +++ b/include/configs/mx28evk.h @@ -149,6 +149,16 @@ #endif /* + * NAND Driver + */ +#ifdef CONFIG_CMD_NAND +#define CONFIG_NAND_MXS +#define CONFIG_SYS_MAX_NAND_DEVICE 1 +#define CONFIG_SYS_NAND_BASE 0x60000000 +#define CONFIG_SYS_NAND_5_ADDR_CYCLE +#endif + +/* * Ethernet on SOC (FEC) */ #ifdef CONFIG_CMD_NET |