summaryrefslogtreecommitdiff
path: root/include/configs/linkstation.h
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2012-09-23 17:41:24 +0200
committerTom Rini <trini@ti.com>2012-10-15 11:53:47 -0700
commit5368c55d4ca463405225dd184ecabf370b715c05 (patch)
treee1ba15d3d2ca7a971dcdea2569c7335c97a72067 /include/configs/linkstation.h
parent93ea89f0d979a000e4c47dd8a8991328b2ac8cf7 (diff)
downloadu-boot-imx-5368c55d4ca463405225dd184ecabf370b715c05.zip
u-boot-imx-5368c55d4ca463405225dd184ecabf370b715c05.tar.gz
u-boot-imx-5368c55d4ca463405225dd184ecabf370b715c05.tar.bz2
COMMON: Use __stringify() instead of MK_STR()
Kill multiple occurances and redeclaration of MK_STR in favor of __stringify(). Signed-off-by: Marek Vasut <marex@denx.de> Cc: Wolfgang Denk <wd@denx.de> Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'include/configs/linkstation.h')
-rw-r--r--include/configs/linkstation.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/include/configs/linkstation.h b/include/configs/linkstation.h
index bb96034..eec7961 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" \