]> git.sur5r.net Git - u-boot/commitdiff
sparc: fix unknown escape sequence warnings
authorMike Frysinger <vapier@gentoo.org>
Wed, 12 Oct 2011 19:47:51 +0000 (19:47 +0000)
committerAnatolij Gustschin <agust@denx.de>
Mon, 5 Dec 2011 20:55:24 +0000 (21:55 +0100)
I don't know what exactly the code was going for, but the object code
is the same before/after my change, and in looking at the env strings,
this seems to be OK.

Otherwise gcc warns:
cc1: warning: unknown escape sequence: '\$'
cc1: warning: unknown escape sequence: '\)'
cc1: warning: unknown escape sequence: '\040'
cc1: warning: unknown escape sequence: '\$'
cc1: warning: unknown escape sequence: '\)'

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
include/configs/gr_cpci_ax2000.h
include/configs/gr_ep2s60.h
include/configs/gr_xc3s_1500.h
include/configs/grsim.h
include/configs/grsim_leon2.h

index e837f40132800dc3b87eb911dfc683da8b5ea5d4..dd6c41d02cd930f20bfa19263e9ede7a6e462669 100644 (file)
                "bootm ${kernel_addr}\0"                                \
        "flash_self=run ramargs addip;"                                 \
                "bootm ${kernel_addr} ${ramdisk_addr}\0"                \
-       "getkernel=tftpboot \$\(scratch\)\ \$\(bootfile\)\0" \
+       "getkernel=tftpboot $(scratch) $(bootfile)\0" \
        "bootargs=console=ttyS0,38400 root=/dev/nfs rw nfsroot=192.168.0.20:/export/rootfs ip=192.168.0.206:192.168.0.20:192.168.0.1:255.255.255.0:ax2000:eth0\0"
 
 #if CONFIG_LEON_RAM_SELECT == CONFIG_LEON_RAM_SRAM
index 0cddeeef6b72b8140cadc9185eee5e72b8e8f27d..7068ff8bf50e9f15c932b1a32dff105ab0b50de4 100644 (file)
                "bootm ${kernel_addr} ${ramdisk_addr}\0"                \
        "net_nfs=tftp 40000000 ${bootfile};run nfsargs addip;bootm\0"   \
        "scratch=40800000\0"                                    \
-       "getkernel=tftpboot \$\(scratch\)\ \$\(bootfile\)\0" \
+       "getkernel=tftpboot $(scratch) $(bootfile)\0" \
        "bootargs=console=ttyS0,38400 root=/dev/nfs rw nfsroot=192.168.0.20:/export/rootfs ip=192.168.0.207:192.168.0.20:192.168.0.1:255.255.255.0:ml401:eth0\0" \
        ""
 
index 7e8e6f558996c8ad6ac1f064278aa30be8cd4445..50063229b09b92fc59bb0555bd7ceed0f6baacfa 100644 (file)
@@ -91,7 +91,7 @@
                "bootm ${kernel_addr} ${ramdisk_addr}\0"                \
        "net_nfs=tftp 40000000 ${bootfile};run nfsargs addip;bootm\0"   \
        "scratch=40200000\0"                                    \
-       "getkernel=tftpboot \$\(scratch\)\ \$\(bootfile\)\0" \
+       "getkernel=tftpboot $(scratch) $(bootfile)\0" \
        "bootargs=console=ttyS0,38400 root=/dev/nfs rw nfsroot=192.168.0.20:/export/rootfs ip=192.168.0.206:192.168.0.20:192.168.0.1:255.255.255.0:grxc3s1500_daniel:eth0\0" \
        ""
 
index c14749b7e9d1b01a0e95d3088646967317fb64c7..f3639dd685df21e941f14373682f7dba700f9bc8 100644 (file)
        "net_nfs=tftp 40000000 ${bootfile};run nfsargs addip;bootm\0"   \
        "rootpath=/export/roofs\0"                                      \
        "scratch=40000000\0"                                    \
-       "getkernel=tftpboot \$\(scratch\)\ \$\(bootfile\)\0" \
+       "getkernel=tftpboot $(scratch) $(bootfile)\0" \
        "ethaddr=00:00:7A:CC:00:12\0" \
        "bootargs=console=ttyS0,38400" \
        ""
index 88d2aad95fbcedf65533299a0417319771ca4d91..fb9a3f917c4d4f5a75c29c2150756e44d9c24743 100644 (file)
        "net_nfs=tftp 40000000 ${bootfile};run nfsargs addip;bootm\0"   \
        "rootpath=/export/roofs\0"                                      \
        "scratch=40000000\0"                                    \
-       "getkernel=tftpboot \$\(scratch\)\ \$\(bootfile\)\0" \
+       "getkernel=tftpboot $(scratch) $(bootfile)\0" \
        "ethaddr=00:00:7A:CC:00:12\0" \
        "bootargs=console=ttyS0,38400" \
        ""