diff options
author | wdenk <wdenk> | 2003-03-06 00:02:04 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2003-03-06 00:02:04 +0000 |
commit | 43d9616cffb4a130e1620e3e33fc9bc1bcabe399 (patch) | |
tree | ed55479a108ed16258d81be3e37d0edd74520520 /include/configs/trab.h | |
parent | 6069ff265362ef6239749b5f598b137f407b821e (diff) | |
download | u-boot-43d9616cffb4a130e1620e3e33fc9bc1bcabe399.tar.gz u-boot-43d9616cffb4a130e1620e3e33fc9bc1bcabe399.tar.xz u-boot-43d9616cffb4a130e1620e3e33fc9bc1bcabe399.zip |
* Patch by Robert Schwebel, 21 Jan 2003:LABEL_2003_03_06_0050
- Add support for Innokom board
- Don't complain if "install" fails
- README cleanup (remove duplicated lines)
- Update PXA header files
* Add documentation for existing POST code (doc/README.POST)
* Patch by Laudney Ren, 15 Jan 2003:
Fix handling of redundand environment in "tools/envcrc.c"
* Patch by Detlev Zundel, 28 Feb 2003:
Add bedbug support for 824x systems
* Add support for 16 MB flash configuration of TRAB board
* Patch by Erwin Rol, 27 Feb 2003:
Add support for RTEMS
* Add image information to README
* Fix dual PCMCIA slot support (when running with just one
slot populated)
* Add VFD type detection to trab board
* extend drivers/cs8900.c driver to synchronize ethaddr environment
variable with value in the EEPROM
Diffstat (limited to 'include/configs/trab.h')
-rw-r--r-- | include/configs/trab.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/include/configs/trab.h b/include/configs/trab.h index 086294e488..06aed93e68 100644 --- a/include/configs/trab.h +++ b/include/configs/trab.h @@ -123,6 +123,7 @@ #define CONFIG_BOOTARGS "console=ttyS0" #define CONFIG_NETMASK 255.255.0.0 #define CONFIG_IPADDR 192.168.3.68 +#define CONFIG_HOSTNAME trab #define CONFIG_SERVERIP 192.168.3.1 #define CONFIG_BOOTCOMMAND "run flash_nfs" #define CONFIG_EXTRA_ENV_SETTINGS \ @@ -220,7 +221,11 @@ * FLASH and environment organization */ #define CFG_MAX_FLASH_BANKS 1 /* max number of memory banks */ +#ifndef CONFIG_BIG_FLASH +#define CFG_MAX_FLASH_SECT 71 /* max number of sectors on one chip */ +#else #define CFG_MAX_FLASH_SECT 128 /* max number of sectors on one chip */ +#endif /* timeout values are in ticks */ #define CFG_FLASH_ERASE_TOUT (2*CFG_HZ) /* Timeout for Flash Erase */ @@ -229,11 +234,18 @@ #define CFG_ENV_IS_IN_FLASH 1 /* Address and size of Primary Environment Sector */ +#ifndef CONFIG_BIG_FLASH #define CFG_ENV_ADDR (CFG_FLASH_BASE + 0x4000) #define CFG_ENV_SIZE 0x4000 +#define CFG_ENV_SECT_SIZE 0x4000 +#else +#define CFG_ENV_ADDR (CFG_FLASH_BASE + 0x40000) +#define CFG_ENV_SIZE 0x4000 +#define CFG_ENV_SECT_SIZE 0x20000 +#endif /* Address and size of Redundant Environment Sector */ -#define CFG_ENV_OFFSET_REDUND (CFG_ENV_ADDR+CFG_ENV_SIZE) +#define CFG_ENV_OFFSET_REDUND (CFG_ENV_ADDR+CFG_ENV_SECT_SIZE) #define CFG_ENV_SIZE_REDUND (CFG_ENV_SIZE) #endif /* __CONFIG_H */ |