summaryrefslogtreecommitdiffstats
path: root/include/configs/o2d.h
diff options
context:
space:
mode:
authorAnatolij Gustschin <agust@denx.de>2014-10-24 20:13:51 +0200
committerTom Rini <trini@ti.com>2014-10-27 17:54:13 -0400
commit4a8c3f693ef2b50b5db5a95a2c32531b35d31dc0 (patch)
treee8af75d48f723e6b4d79571e40b237917d2d15ae /include/configs/o2d.h
parentf39c5d1e6a2080c6913e11fb30899c8b2adfb0f3 (diff)
downloadtalos-obmc-uboot-4a8c3f693ef2b50b5db5a95a2c32531b35d31dc0.tar.gz
talos-obmc-uboot-4a8c3f693ef2b50b5db5a95a2c32531b35d31dc0.zip
Use __stringify() instead of xstr()
Some boards still use xstr(). Replace remaining occurrences of xstr() by commonly used __stringify(). Signed-off-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'include/configs/o2d.h')
-rw-r--r--include/configs/o2d.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/configs/o2d.h b/include/configs/o2d.h
index eff1bcef3b..b2905b2697 100644
--- a/include/configs/o2d.h
+++ b/include/configs/o2d.h
@@ -43,8 +43,8 @@
#define CONFIG_BOARD_NAME "o2d"
#define CONFIG_BOARD_BOOTCMD "run dhcp_boot"
-#define CONFIG_BOARD_MEM_LIMIT xstr(126)
-#define BOARD_POST_CRC32_END xstr(0x01000000)
+#define CONFIG_BOARD_MEM_LIMIT __stringify(126)
+#define BOARD_POST_CRC32_END __stringify(0x01000000)
#define CONFIG_EXTRA_ENV_SETTINGS \
CONFIG_IFM_DEFAULT_ENV_SETTINGS \
@@ -56,7 +56,7 @@
"ramtop=fc55ffff\0" \
"jffbot=fc560000\0" \
"jfftop=fcffffff\0" \
- "ubobot=" xstr(CONFIG_SYS_FLASH_BASE) "\0" \
+ "ubobot=" __stringify(CONFIG_SYS_FLASH_BASE) "\0" \
"ubotop=fc03ffff\0" \
"kernel_addr=0xfc060000\0" \
"ramdisk_addr=0xfc160000\0" \
OpenPOWER on IntegriCloud