summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManikandan Pillai <mani.pillai@ti.com>2009-04-07 14:26:41 +0530
committerJustin Waters <justin.waters@timesys.com>2009-10-21 16:46:31 -0400
commit994e4efb0cee3b46a64160a69a415af54724c512 (patch)
tree6e2b0ec0299c180ad717bddeba3949973916f19e
parente60beb13cf0135dc71c541021487b5ccc4d269cb (diff)
Changes for making a NAND build.
-rw-r--r--include/configs/omap3_evm.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/configs/omap3_evm.h b/include/configs/omap3_evm.h
index f4498a9bcc..6283d59ae4 100644
--- a/include/configs/omap3_evm.h
+++ b/include/configs/omap3_evm.h
@@ -106,7 +106,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
@@ -125,12 +125,15 @@
/*
* Board NAND Info.
*/
+#define CONFIG_NAND_OMAP_GPMC
#define CONFIG_SYS_NAND_ADDR NAND_BASE /* physical address */
/* to access nand */
#define CONFIG_SYS_NAND_BASE NAND_BASE /* physical address */
/* to access */
/* nand at CS0 */
+#define GPMC_NAND_ECC_LP_x16_LAYOUT 1
+
#define CONFIG_SYS_MAX_NAND_DEVICE 1 /* Max number of */
/* NAND devices */
#define SECTORSIZE 512
@@ -271,7 +274,7 @@
#define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_FLASH_BASE
#define CONFIG_SYS_ONENAND_BASE ONENAND_MAP
-#define CONFIG_ENV_IS_IN_ONENAND 1
+#define CONFIG_ENV_IS_IN_NAND 1
#define ONENAND_ENV_OFFSET 0x260000 /* environment starts here */
#define SMNAND_ENV_OFFSET 0x260000 /* environment starts here */