diff options
author | Manikandan Pillai <mani.pillai@ti.com> | 2009-04-07 14:26:41 +0530 |
---|---|---|
committer | Justin Waters <justin.waters@timesys.com> | 2009-10-21 16:46:31 -0400 |
commit | 994e4efb0cee3b46a64160a69a415af54724c512 (patch) | |
tree | 6e2b0ec0299c180ad717bddeba3949973916f19e /include/configs/omap3_evm.h | |
parent | e60beb13cf0135dc71c541021487b5ccc4d269cb (diff) |
Changes for making a NAND build.
Diffstat (limited to 'include/configs/omap3_evm.h')
-rw-r--r-- | include/configs/omap3_evm.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/configs/omap3_evm.h b/include/configs/omap3_evm.h index f4498a9bcc3..6283d59ae44 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 */ |