X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fconfigs%2Fve8313.h;h=d3b8379186390058a2a60caddb49ed4d9afda08b;hb=5368c55d4ca463405225dd184ecabf370b715c05;hp=bf50d09d0764ba9cb07b397f7e2bfd52e901da63;hpb=c829ff2e3d1bec9b2019480d82638149327db99e;p=u-boot diff --git a/include/configs/ve8313.h b/include/configs/ve8313.h index bf50d09d07..d3b8379186 100644 --- a/include/configs/ve8313.h +++ b/include/configs/ve8313.h @@ -279,7 +279,6 @@ /* Use the HUSH parser */ #define CONFIG_SYS_HUSH_PARSER -#define CONFIG_SYS_PROMPT_HUSH_PS2 "> " #if defined(CONFIG_PCI) /* @@ -501,22 +500,17 @@ #define CONFIG_BOOTDELAY 6 /* -1 disables auto-boot */ #define CONFIG_BAUDRATE 115200 -#define XMK_STR(x) #x -#define MK_STR(x) XMK_STR(x) - #define CONFIG_EXTRA_ENV_SETTINGS \ - "netdev=" MK_STR(CONFIG_NETDEV) "\0" \ - "ethprime=" MK_STR(CONFIG_TSEC1_NAME) "\0" \ - "u-boot=" MK_STR(CONFIG_UBOOTPATH) "\0" \ + "netdev=" __stringify(CONFIG_NETDEV) "\0" \ + "ethprime=" __stringify(CONFIG_TSEC1_NAME) "\0" \ + "u-boot=" __stringify(CONFIG_UBOOTPATH) "\0" \ "u-boot_addr_r=100000\0" \ "load=tftp ${u-boot_addr_r} ${u-boot}\0" \ - "update=protect off " MK_STR(CONFIG_SYS_FLASH_BASE) " +${filesize};" \ - "erase " MK_STR(CONFIG_SYS_FLASH_BASE) " +${filesize};" \ - "cp.b ${u-boot_addr_r} " MK_STR(CONFIG_SYS_FLASH_BASE) \ + "update=protect off " __stringify(CONFIG_SYS_FLASH_BASE) \ + " +${filesize};" \ + "erase " __stringify(CONFIG_SYS_FLASH_BASE) " +${filesize};" \ + "cp.b ${u-boot_addr_r} " __stringify(CONFIG_SYS_FLASH_BASE) \ " ${filesize};" \ - "protect on " MK_STR(CONFIG_SYS_FLASH_BASE) " +${filesize}\0" \ - -#undef MK_STR -#undef XMK_STR + "protect on " __stringify(CONFIG_SYS_FLASH_BASE) " +${filesize}\0" \ #endif /* __CONFIG_H */