]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mx53ppd: fix unsupported set command
authorIan Ray <ian.ray@ge.com>
Thu, 31 Jan 2019 14:21:22 +0000 (16:21 +0200)
committerStefano Babic <sbabic@denx.de>
Sat, 13 Apr 2019 18:30:08 +0000 (20:30 +0200)
Fix the NFS commands which used `set' to instead use `setenv'.

Signed-off-by: Ian Ray <ian.ray@ge.com>
include/configs/mx53ppd.h

index db6cd650f15022d6d59d31fe739d89d9c24728e0..5b97fe9843e89d5b2d4d66b0ca0ed7e4d90a250a 100644 (file)
        "nfsroot=/opt/springdale/rd\0" \
        "bootargs_nfs=setenv bootargs ${bootargs} root=/dev/nfs " \
                "${kern_ipconf} nfsroot=${nfsserver}:${nfsroot},v3,tcp rw\0" \
-       "choose_ip=if test $use_dhcp = 1; then set kern_ipconf ip=dhcp; " \
-               "set getcmd dhcp; else set kern_ipconf " \
+       "choose_ip=if test $use_dhcp = 1; then setenv kern_ipconf ip=dhcp; " \
+               "setenv getcmd dhcp; else setenv kern_ipconf " \
                "ip=${ipaddr}:${nfsserver}:${gatewayip}:${netmask}::eth0:off; " \
-               "set getcmd tftp; fi\0" \
+               "setenv getcmd tftp; fi\0" \
        "nfs=run choose_ip setargs bootargs_nfs; ${getcmd} ${loadaddr} " \
                "${nfsserver}:${image}; bootm ${loadaddr}\0" \