summaryrefslogtreecommitdiffstats
path: root/include/configs/tam3517-common.h
diff options
context:
space:
mode:
authorMario Six <mario.six@gdsys.cc>2018-03-28 14:38:20 +0200
committerTom Rini <trini@konsulko.com>2018-04-08 18:31:09 -0400
commit5bc0543df3079add8152afa041b887d081d71839 (patch)
tree52391dd5ad89ac8681dccb7efd6a3441e2ccec06 /include/configs/tam3517-common.h
parent07dea2e737f78ee70e81c27d976811f0e9fdbad8 (diff)
downloadu-boot-5bc0543df3079add8152afa041b887d081d71839.tar.gz
u-boot-5bc0543df3079add8152afa041b887d081d71839.tar.xz
u-boot-5bc0543df3079add8152afa041b887d081d71839.zip
treewide: Convert CONFIG_HOSTNAME to a string option
CONFIG_HOSTNAME is defined as a "plain" preprocessor string, but every use is couched by __stringify(...). Hence, convert it to a proper string option. Signed-off-by: Mario Six <mario.six@gdsys.cc>
Diffstat (limited to 'include/configs/tam3517-common.h')
-rw-r--r--include/configs/tam3517-common.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/configs/tam3517-common.h b/include/configs/tam3517-common.h
index 72da301436..7f5a3cadcb 100644
--- a/include/configs/tam3517-common.h
+++ b/include/configs/tam3517-common.h
@@ -214,8 +214,8 @@
"addmisc=setenv bootargs ${bootargs} ${misc}\0" \
"loadaddr=82000000\0" \
"kernel_addr_r=82000000\0" \
- "hostname=" __stringify(CONFIG_HOSTNAME) "\0" \
- "bootfile=" __stringify(CONFIG_HOSTNAME) "/uImage\0" \
+ "hostname=" CONFIG_HOSTNAME "\0" \
+ "bootfile=" CONFIG_HOSTNAME "/uImage\0" \
"flash_self=run ramargs addip addtty addmtd addmisc;" \
"bootm ${kernel_addr} ${ramdisk_addr}\0" \
"flash_nfs=run nfsargs addip addtty addmtd addmisc;" \
@@ -230,10 +230,10 @@
"run ramargs addip addtty addmtd addmisc;" \
"bootm ${kernel_addr_r} ${ramdisk_addr_r};" \
"else echo Images not loades;fi\0" \
- "u-boot=" __stringify(CONFIG_HOSTNAME) "/u-boot.img\0" \
+ "u-boot=" CONFIG_HOSTNAME "/u-boot.img\0" \
"load=tftp ${loadaddr} ${u-boot}\0" \
"loadmlo=tftp ${loadaddr} ${mlo}\0" \
- "mlo=" __stringify(CONFIG_HOSTNAME) "/MLO\0" \
+ "mlo=" CONFIG_HOSTNAME "/MLO\0" \
"uboot_addr=0x80000\0" \
"update=nandecc sw;nand erase ${uboot_addr} 100000;" \
"nand write ${loadaddr} ${uboot_addr} 80000\0" \