summaryrefslogtreecommitdiff
path: root/include/configs/qong.h
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2012-09-23 17:41:23 +0200
committerTom Rini <trini@ti.com>2012-10-15 11:53:47 -0700
commit93ea89f0d979a000e4c47dd8a8991328b2ac8cf7 (patch)
treee30e63258ab9208f0bf382dcc8403a0d9c3ef808 /include/configs/qong.h
parent9aed5080834a4e848a88b972738f28dce466b420 (diff)
downloadu-boot-imx-93ea89f0d979a000e4c47dd8a8991328b2ac8cf7.zip
u-boot-imx-93ea89f0d979a000e4c47dd8a8991328b2ac8cf7.tar.gz
u-boot-imx-93ea89f0d979a000e4c47dd8a8991328b2ac8cf7.tar.bz2
COMMON: Use __stringify() instead of xstr()
Kill multiple occurances and redeclaration of xstr in favor of __stringify(). Signed-off-by: Marek Vasut <marex@denx.de> Cc: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'include/configs/qong.h')
-rw-r--r--include/configs/qong.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/include/configs/qong.h b/include/configs/qong.h
index c2bd097..e43a021 100644
--- a/include/configs/qong.h
+++ b/include/configs/qong.h
@@ -144,9 +144,6 @@
#define CONFIG_LOADADDR 0x80800000 /* loadaddr env var */
-#define xstr(s) str(s)
-#define str(s) #s
-
#define CONFIG_EXTRA_ENV_SETTINGS \
"netdev=eth0\0" \
"nfsargs=setenv bootargs root=/dev/nfs rw " \
@@ -176,10 +173,10 @@
"bootm\0" \
"bootcmd=run flash_self\0" \
"load=tftp ${loadaddr} ${u-boot}\0" \
- "update=protect off " xstr(CONFIG_SYS_MONITOR_BASE) \
- " +${filesize};era " xstr(CONFIG_SYS_MONITOR_BASE) \
+ "update=protect off " __stringify(CONFIG_SYS_MONITOR_BASE) \
+ " +${filesize};era " __stringify(CONFIG_SYS_MONITOR_BASE)\
" +${filesize};cp.b ${fileaddr} " \
- xstr(CONFIG_SYS_MONITOR_BASE) " ${filesize}\0" \
+ __stringify(CONFIG_SYS_MONITOR_BASE) " ${filesize}\0" \
"upd=run load update\0" \
"videomode=video=ctfb:x:640,y:480,depth:16,mode:0,pclk:40000," \
"le:120,ri:40,up:35,lo:10,hs:30,vs:3,sync:100663296," \