X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fconfigs%2Flinkstation.h;h=eec79619c10a2ba2ee68711974995e8652fa9900;hb=b7e3129e550957f046c29a917c63f4b503fbfcb9;hp=2918d790d68dbefcbdcdec1ac49506ebaf411cc4;hpb=2ae1824196884ba2bafffb7c0d3e8297350591e9;p=u-boot diff --git a/include/configs/linkstation.h b/include/configs/linkstation.h index 2918d790d6..eec79619c1 100644 --- a/include/configs/linkstation.h +++ b/include/configs/linkstation.h @@ -135,9 +135,6 @@ #define CONFIG_SYS_CONSOLE_IS_IN_ENV -#define XMK_STR(x) #x -#define MK_STR(x) XMK_STR(x) - #if defined(CONFIG_HLAN) || defined(CONFIG_LAN) #define UBFILE "share/u-boot/u-boot-hd.flash.bin" #elif defined(CONFIG_HGLAN) @@ -153,10 +150,10 @@ "stdin=nc\0" \ "stdout=nc\0" \ "stderr=nc\0" \ - "ipaddr="MK_STR(CONFIG_IPADDR_LS)"\0" \ + "ipaddr="__stringify(CONFIG_IPADDR_LS)"\0" \ "netmask=255.255.255.0\0" \ - "serverip="MK_STR(CONFIG_SERVERIP_LS)"\0" \ - "ncip="MK_STR(CONFIG_NCIP_LS)"\0" \ + "serverip="__stringify(CONFIG_SERVERIP_LS)"\0" \ + "ncip="__stringify(CONFIG_NCIP_LS)"\0" \ "netretry=no\0" \ "nc=setenv stdin nc;setenv stdout nc;setenv stderr nc\0" \ "ser=setenv stdin serial;setenv stdout serial;setenv stderr serial\0" \ @@ -211,7 +208,6 @@ /*----------------------------------------------------------------------- * Ethernet stuff */ -#define CONFIG_NET_MULTI #if defined(CONFIG_LAN) || defined(CONFIG_HLAN) #define CONFIG_TULIP @@ -275,16 +271,14 @@ #else #define CONFIG_SYS_INIT_RAM_ADDR 0x40000000 #endif -#define CONFIG_SYS_INIT_RAM_END 0x1000 -#define CONFIG_SYS_GBL_DATA_SIZE 128 -#define CONFIG_SYS_GBL_DATA_OFFSET (CONFIG_SYS_INIT_RAM_END - CONFIG_SYS_GBL_DATA_SIZE) +#define CONFIG_SYS_INIT_RAM_SIZE 0x1000 +#define CONFIG_SYS_GBL_DATA_OFFSET (CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE) /*---------------------------------------------------------------------- * Serial configuration */ #define CONFIG_CONS_INDEX 1 #define CONFIG_BAUDRATE 57600 -#define CONFIG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200 } #define CONFIG_SYS_NS16550 #define CONFIG_SYS_NS16550_SERIAL @@ -511,12 +505,4 @@ */ #define CONFIG_DOS_PARTITION -/*----------------------------------------------------------------------- - * Internal Definitions - * - * Boot Flags - */ -#define BOOTFLAG_COLD 0x01 /* Normal Power-On: Boot from FLASH */ -#define BOOTFLAG_WARM 0x02 /* Software reboot */ - #endif /* __CONFIG_H */