diff options
author | wdenk <wdenk> | 2004-08-28 21:09:14 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2004-08-28 21:09:14 +0000 |
commit | 31a649234ee4051e96cf45285cdf2dbfa668d30c (patch) | |
tree | b5f30d8b26974d60fee1ab69f2edb9876d7a0622 /include | |
parent | 89394047ba438f70f40ebc89b812824b01fec663 (diff) | |
download | u-boot-imx-31a649234ee4051e96cf45285cdf2dbfa668d30c.zip u-boot-imx-31a649234ee4051e96cf45285cdf2dbfa668d30c.tar.gz u-boot-imx-31a649234ee4051e96cf45285cdf2dbfa668d30c.tar.bz2 |
* Add automatic update support for LWMON board
* Enable MSDOS/VFAT filesystem support for LWMON board
* Clear Block Lock-Bits when erasing flash on LWMON board.
* Fix return code of "fatload" command
* Disable debugging for TQM5200 board
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/TQM5200.h | 4 | ||||
-rw-r--r-- | include/configs/lwmon.h | 27 |
2 files changed, 19 insertions, 12 deletions
diff --git a/include/configs/TQM5200.h b/include/configs/TQM5200.h index 1f83aa5..7d39f22 100644 --- a/include/configs/TQM5200.h +++ b/include/configs/TQM5200.h @@ -27,8 +27,6 @@ #ifndef __CONFIG_H #define __CONFIG_H -#define DEBUG 1 - /* * High Level Configuration Options * (easy to change) @@ -64,7 +62,7 @@ */ #define CONFIG_PCI 0 #define CONFIG_PCI_PNP 1 -#define CONFIG_PCI_SCAN_SHOW 1 +/* #define CONFIG_PCI_SCAN_SHOW 1 */ #define CONFIG_PCI_MEM_BUS 0x40000000 #define CONFIG_PCI_MEM_PHYS CONFIG_PCI_MEM_BUS diff --git a/include/configs/lwmon.h b/include/configs/lwmon.h index a76ec23..74186a8 100644 --- a/include/configs/lwmon.h +++ b/include/configs/lwmon.h @@ -78,12 +78,24 @@ #define CONFIG_BOOTCOMMAND "run flash_self" +/* + * Keyboard commands: + * # = 0x28 = ENTER : enable bootmessages on LCD + * 2 = 0x3A+0x3C = F1 + F3 : enable update mode + * 3 = 0x3C+0x3F = F3 + F6 : enable test mode + */ #define CONFIG_EXTRA_ENV_SETTINGS \ "kernel_addr=40080000\0" \ "ramdisk_addr=40280000\0" \ - "magic_keys=#3\0" \ + "magic_keys=#23\0" \ "key_magic#=28\0" \ "key_cmd#=setenv addfb setenv 'bootargs $bootargs console=tty0'\0" \ + "key_magic2=3A+3C\0" \ + "key_cmd2=echo *** Entering Update Mode ***;" \ + "if fatload ide 0:3 10000 update.scr;" \ + "then autoscr 10000;" \ + "else echo *** UPDATE FAILED ***;" \ + "fi\0" \ "key_magic3=3C+3F\0" \ "key_cmd3=echo *** Entering Test Mode ***;" \ "setenv add_misc 'setenv bootargs $bootargs testmode'\0" \ @@ -153,6 +165,7 @@ CFG_CMD_ASKENV | \ CFG_CMD_DHCP | \ CFG_CMD_DATE | \ + CFG_CMD_FAT | \ CFG_CMD_I2C | \ CFG_CMD_EEPROM | \ CFG_CMD_IDE | \ @@ -276,18 +289,12 @@ */ #define CFG_FLASH_BUFFER_SIZE (2*32) -#if 1 -/* Put environment in flash which is much faster to boot */ +/* Put environment in flash which is much faster to boot than using the EEPROM */ #define CFG_ENV_IS_IN_FLASH 1 #define CFG_ENV_ADDR 0x40040000 /* Address of Environment Sector */ #define CFG_ENV_SIZE 0x2000 /* Total Size of Environment */ #define CFG_ENV_SECT_SIZE 0x40000 /* we have BIG sectors only :-( */ -#else -/* Environment in EEPROM */ -#define CFG_ENV_IS_IN_EEPROM 1 -#define CFG_ENV_OFFSET 0 -#define CFG_ENV_SIZE 2048 -#endif + /*----------------------------------------------------------------------- * I2C/EEPROM Configuration */ @@ -488,6 +495,8 @@ /* Offset for alternate registers */ #define CFG_ATA_ALT_OFFSET 0x0100 +#define CONFIG_SUPPORT_VFAT /* enable VFAT support */ + /*----------------------------------------------------------------------- * *----------------------------------------------------------------------- |