diff options
author | Ilya Yanok <ilya.yanok@cogentembedded.com> | 2012-11-06 13:06:31 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2012-12-10 08:54:02 -0700 |
commit | 98b5c269433f178bf2596441ee04f8004e528ed4 (patch) | |
tree | fadadf1b932467ace6d9c283fb69cd3ea265ecf0 /include | |
parent | 8eb16b7f73035125215edf880a2c70fa3d42b1e9 (diff) | |
download | u-boot-imx-98b5c269433f178bf2596441ee04f8004e528ed4.zip u-boot-imx-98b5c269433f178bf2596441ee04f8004e528ed4.tar.gz u-boot-imx-98b5c269433f178bf2596441ee04f8004e528ed4.tar.bz2 |
am335x_evm: enable NAND support
Enable NAND support for AM335X boards.
Signed-off-by: Ilya Yanok <ilya.yanok@cogentembedded.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/am335x_evm.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h index b6e48f8..ded1cab 100644 --- a/include/configs/am335x_evm.h +++ b/include/configs/am335x_evm.h @@ -274,4 +274,16 @@ #define CONFIG_PHYLIB #define CONFIG_PHY_SMSC +#define CONFIG_NAND +/* NAND support */ +#ifdef CONFIG_NAND +#define CONFIG_CMD_NAND +#define CONFIG_NAND_OMAP_GPMC +#define GPMC_NAND_ECC_LP_x16_LAYOUT 1 +#define CONFIG_SYS_NAND_BASE (0x08000000) /* physical address */ + /* to access nand at */ + /* CS0 */ +#define CONFIG_SYS_MAX_NAND_DEVICE 1 /* Max number of NAND */ +#endif /* devices */ + #endif /* ! __CONFIG_AM335X_EVM_H */ |