diff options
author | Marek Vasut <marex@denx.de> | 2012-09-23 17:41:23 +0200 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2012-10-15 11:53:47 -0700 |
commit | 93ea89f0d979a000e4c47dd8a8991328b2ac8cf7 (patch) | |
tree | e30e63258ab9208f0bf382dcc8403a0d9c3ef808 /include/configs/ea20.h | |
parent | 9aed5080834a4e848a88b972738f28dce466b420 (diff) | |
download | u-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/ea20.h')
-rw-r--r-- | include/configs/ea20.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/include/configs/ea20.h b/include/configs/ea20.h index c82b5b6..d3eb596 100644 --- a/include/configs/ea20.h +++ b/include/configs/ea20.h @@ -236,8 +236,6 @@ * Default environment and default scripts * to update uboot and load kernel */ -#define xstr(s) str(s) -#define str(s) #s #define CONFIG_HOSTNAME ea20 #define CONFIG_EXTRA_ENV_SETTINGS \ @@ -277,9 +275,9 @@ "loadaddr=c0000014\0" \ "memory=32M\0" \ "kernel_addr_r=c0700000\0" \ - "hostname=" xstr(CONFIG_HOSTNAME) "\0" \ - "bootfile=" xstr(CONFIG_HOSTNAME) "/uImage\0" \ - "ramdisk_file=" xstr(CONFIG_HOSTNAME) "/image.ext2\0" \ + "hostname=" __stringify(CONFIG_HOSTNAME) "\0" \ + "bootfile=" __stringify(CONFIG_HOSTNAME) "/uImage\0" \ + "ramdisk_file=" __stringify(CONFIG_HOSTNAME) "/image.ext2\0" \ "flash_self=run ramargs addip addtty addmtd addmisc addmem;" \ "bootm ${kernel_addr_r}\0" \ "flash_nfs=run nfsargs addip addtty addmtd addmisc addmem;" \ @@ -308,7 +306,7 @@ "net_nandrw=tftp ${kernel_addr_r} ${bootfile}; run nandrwargs" \ " addip addtty addmtd addmisc addmem;" \ "clrlogo;bootm ${kernel_addr_r}\0" \ - "u-boot=" xstr(CONFIG_HOSTNAME) "/u-boot.bin\0" \ + "u-boot=" __stringify(CONFIG_HOSTNAME) "/u-boot.bin\0" \ "load_magic=if sf probe 0;then sf " \ "read c0000000 0x10000 0x60000;fi\0" \ "load_nand=ubi part nand0,${as};ubifsmount rootfs;" \ |