diff options
author | wdenk <wdenk> | 2003-12-06 23:55:10 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2003-12-06 23:55:10 +0000 |
commit | 5779d8d985d95104ad74332f5fa3cb6c67645509 (patch) | |
tree | fe9c2bacd2e097b24c4968ae8e929bd28d74c167 /include/configs/at91rm9200dk.h | |
parent | 8bf3b005ddee3eee179ec961e1c2bd0693e3b79d (diff) | |
download | u-boot-imx-5779d8d985d95104ad74332f5fa3cb6c67645509.zip u-boot-imx-5779d8d985d95104ad74332f5fa3cb6c67645509.tar.gz u-boot-imx-5779d8d985d95104ad74332f5fa3cb6c67645509.tar.bz2 |
* Patch by Nicolas Lacressonnière, 12 Nov 2003:
update for for Atmel AT91RM9200DK development kit:
- support for environment variables in DataFlash
- Atmel DataFlash AT45DB1282 support
* Patch by Jeff Carr, 11 Nov 2003:
add support for new version of 8270 processors
* Patches by George G. Davis, 05 Nov 2003:
- only pass the ARM linux initrd tag to the kernel when an initrd
is actually present
- update omap1510inn configuration file
Diffstat (limited to 'include/configs/at91rm9200dk.h')
-rw-r--r-- | include/configs/at91rm9200dk.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/include/configs/at91rm9200dk.h b/include/configs/at91rm9200dk.h index b092ec7..d971826 100644 --- a/include/configs/at91rm9200dk.h +++ b/include/configs/at91rm9200dk.h @@ -114,7 +114,7 @@ #define CONFIG_NET_RETRY_COUNT 20 #define CONFIG_HAS_DATAFLASH 1 -#define CFG_SPI_WRITE_TOUT CFG_HZ +#define CFG_SPI_WRITE_TOUT (5*CFG_HZ) #define CFG_MAX_DATAFLASH_BANKS 2 #define CFG_MAX_DATAFLASH_PAGES 16384 #define CFG_DATAFLASH_LOGIC_ADDR_CS0 0xC0000000 /* Logical adress for CS0 */ @@ -127,9 +127,20 @@ #define CFG_MAX_FLASH_SECT 40 #define CFG_FLASH_ERASE_TOUT (2*CFG_HZ) /* Timeout for Flash Erase */ #define CFG_FLASH_WRITE_TOUT (2*CFG_HZ) /* Timeout for Flash Write */ + +#undef CFG_ENV_IS_IN_DATAFLASH + +#ifdef CFG_ENV_IS_IN_DATAFLASH +#define CFG_ENV_OFFSET 0x20000 +#define CFG_ENV_ADDR (CFG_DATAFLASH_LOGIC_ADDR_CS0 + CFG_ENV_OFFSET) +#define CFG_ENV_SIZE 0x2000 /* 0x8000 */ +#else #define CFG_ENV_IS_IN_FLASH 1 #define CFG_ENV_ADDR (PHYS_FLASH_1 + 0xe000) /* 0x10000 */ #define CFG_ENV_SIZE 0x2000 /* 0x8000 */ +#endif + + #define CFG_LOAD_ADDR 0x21000000 /* default load address */ #define CFG_BOOT_SIZE 0x6000 /* 24 KBytes */ |