From 6629d2f22b4af180dc41defe2396bafcd8fe4093 Mon Sep 17 00:00:00 2001 From: wdenk Date: Fri, 12 Mar 2004 15:38:25 +0000 Subject: SX1 patches: use "serial#" for USB serial #; use redundand environment storage; auto-set console on USB port (using preboot command) --- include/configs/SX1.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'include/configs/SX1.h') diff --git a/include/configs/SX1.h b/include/configs/SX1.h index ca536c5d3f..ae4cf60083 100644 --- a/include/configs/SX1.h +++ b/include/configs/SX1.h @@ -83,8 +83,6 @@ #define CONFIG_USBD_PRODUCTID 0x5678 #define CONFIG_USBD_MANUFACTURER "Siemens" #define CONFIG_USBD_PRODUCT_NAME "SX1" -#define CONFIG_USBD_SERIAL_NUMBER "000000000001" - /* * I2C configuration @@ -109,8 +107,8 @@ #include #include -#define CONFIG_BOOTDELAY 3 #define CONFIG_BOOTARGS "mem=16M console=ttyS0,115200n8 root=/dev/mtdblock3 rw" +#define CONFIG_PREBOOT "setenv stdout usbtty;setenv stdin usbtty" /* * Miscellaneous configurable options @@ -174,4 +172,8 @@ #define CFG_ENV_SIZE 0x20000 /* Total Size of Environment Sector */ #define CFG_ENV_OFFSET 0x20000 /* environment starts here */ +/* Address and size of Redundant Environment Sector */ +#define CFG_ENV_SIZE_REDUND 0x20000 +#define CFG_ENV_OFFSET_REDUND 0x40000 + #endif /* __CONFIG_H */ -- cgit v1.2.3