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>
This commit is contained in:
Lauri Hintsala
2012-04-17 00:35:46 +00:00
committed by Albert ARIBAUD
parent 3f29d96218
commit ecb7be2985
2 changed files with 31 additions and 0 deletions

View File

@@ -148,6 +148,16 @@
#define CONFIG_MXS_MMC
#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)
*/