summaryrefslogtreecommitdiff
path: root/include/configs/omap3_evm.h
diff options
context:
space:
mode:
authorMinkyu Kang <mk7.kang@samsung.com>2010-06-15 13:27:03 +0900
committerMinkyu Kang <mk7.kang@samsung.com>2010-06-15 13:27:03 +0900
commit25ae8aeb54a6ca89ba1fd11c00865b8fed9348b4 (patch)
treeddc30b5a130d8a230a8264c05dfa7faeba84471a /include/configs/omap3_evm.h
parenta56915d7c679799e75317f7cb1eb24003b075438 (diff)
parent376e7fadbad3285231e390c6534feb5af86d594b (diff)
downloadu-boot-imx-25ae8aeb54a6ca89ba1fd11c00865b8fed9348b4.zip
u-boot-imx-25ae8aeb54a6ca89ba1fd11c00865b8fed9348b4.tar.gz
u-boot-imx-25ae8aeb54a6ca89ba1fd11c00865b8fed9348b4.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-arm
Diffstat (limited to 'include/configs/omap3_evm.h')
-rw-r--r--include/configs/omap3_evm.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/configs/omap3_evm.h b/include/configs/omap3_evm.h
index 0d99f7d..af7c65a 100644
--- a/include/configs/omap3_evm.h
+++ b/include/configs/omap3_evm.h
@@ -42,6 +42,8 @@
#define CONFIG_OMAP3430 1 /* which is in a 3430 */
#define CONFIG_OMAP3_EVM 1 /* working with EVM */
+#define CONFIG_SDRC /* The chip has SDRC controller */
+
#include <asm/arch/cpu.h> /* get chip and board defs */
#include <asm/arch/omap3.h>
@@ -151,7 +153,7 @@
#define CONFIG_CMD_I2C /* I2C serial bus support */
#define CONFIG_CMD_MMC /* MMC support */
-#define CONFIG_CMD_ONENAND /* ONENAND support */
+#define CONFIG_CMD_NAND /* NAND support */
#define CONFIG_CMD_DHCP
#define CONFIG_CMD_PING
@@ -306,7 +308,13 @@
#define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_FLASH_BASE
#define CONFIG_SYS_ONENAND_BASE ONENAND_MAP
+#if defined(CONFIG_CMD_NAND)
+#define CONFIG_NAND_OMAP_GPMC
+#define GPMC_NAND_ECC_LP_x16_LAYOUT 1
+#define CONFIG_ENV_IS_IN_NAND
+#elif defined(CONFIG_CMD_ONENAND)
#define CONFIG_ENV_IS_IN_ONENAND 1
+#endif
#define ONENAND_ENV_OFFSET 0x260000 /* environment starts here */
#define SMNAND_ENV_OFFSET 0x260000 /* environment starts here */