diff options
author | Sudhakar Rajashekhara <sudhakar.raj@ti.com> | 2009-04-08 08:52:00 -0400 |
---|---|---|
committer | Justin Waters <justin.waters@timesys.com> | 2009-09-09 14:03:24 -0400 |
commit | 72b4f2add05f2980f7fb3144746868a50bb96ed7 (patch) | |
tree | 190939300e0cae8e450c44106f3d1144b5cc33f7 | |
parent | dd6f461a1f97743312e5356af8d183a57084a3f2 (diff) |
Correct NOR flash related info in DA850 config file.
Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
-rw-r--r-- | include/configs/da850_evm.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/include/configs/da850_evm.h b/include/configs/da850_evm.h index 97f95e0694..1d2f34824d 100644 --- a/include/configs/da850_evm.h +++ b/include/configs/da850_evm.h @@ -29,8 +29,9 @@ /*=======*/ /* Board */ /*=======*/ -#define CFG_USE_SPIFLASH +#define CFG_USE_SPIFLASH #undef CONFIG_SYS_USE_NAND +#undef CONFIG_SYS_USE_NOR /*===================*/ /* SoC Configuration */ @@ -135,15 +136,15 @@ #ifdef CONFIG_SYS_USE_NOR #define CONFIG_ENV_IS_IN_FLASH #undef CONFIG_SYS_NO_FLASH -#define CFG_FLASH_CFI_DRIVER -#define CFG_FLASH_CFI -#define CFG_MAX_FLASH_BANKS 1 -#define CFG_FLASH_SECT_SZ 0x10000 -#define CONFIG_ENV_OFFSET (CFG_FLASH_SECT_SZ * 3) -#define CFG_FLASH_BASE DAVINCI_ASYNC_EMIF_DATA_CE2_BASE -#define PHYS_FLASH_SIZE 0x2000000 -#define CFG_MAX_FLASH_SECT (PHYS_FLASH_SIZE/CFG_FLASH_SECT_SZ) -#define CONFIG_ENV_SECT_SIZE CFG_FLASH_SECT_SZ +#define CONFIG_FLASH_CFI_DRIVER +#define CONFIG_SYS_FLASH_CFI +#define CONFIG_SYS_MAX_FLASH_BANKS 1 +#define CONFIG_SYS_FLASH_SECT_SZ 0x20000 +#define CONFIG_ENV_OFFSET (CONFIG_SYS_FLASH_SECT_SZ * 2) +#define CONFIG_SYS_FLASH_BASE DAVINCI_ASYNC_EMIF_DATA_CE2_BASE +#define PHYS_FLASH_SIZE 0x800000 +#define CONFIG_SYS_MAX_FLASH_SECT (PHYS_FLASH_SIZE/CONFIG_SYS_FLASH_SECT_SZ) +#define CONFIG_ENV_SECT_SIZE CONFIG_SYS_FLASH_SECT_SZ #endif #ifdef CFG_USE_SPIFLASH |