diff options
author | Lukasz Majewski <lukma@denx.de> | 2018-08-31 13:58:28 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2018-09-14 15:22:52 +0200 |
commit | 97657a8cb444015ac57cc057879fc0cc6be18ab8 (patch) | |
tree | 577754a849d211180510ea0369ff860e8cc21473 /board/k+p/bootscripts | |
parent | 7e6bba20f5d80b07574d317c4b62d89bd36c400f (diff) |
ARM: bootscript: For nfsargs only use rootpath (and remove not needed serverip)
The serverip part is provided from DHCP server with
'option root-path "192.168.3.1:/srv/tftp/rootfs";' parameter in dhcpd.conf
Signed-off-by: Lukasz Majewski <lukma@denx.de>
Diffstat (limited to 'board/k+p/bootscripts')
-rw-r--r-- | board/k+p/bootscripts/tpcboot.cmd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/k+p/bootscripts/tpcboot.cmd b/board/k+p/bootscripts/tpcboot.cmd index e26fd72825..0576e81140 100644 --- a/board/k+p/bootscripts/tpcboot.cmd +++ b/board/k+p/bootscripts/tpcboot.cmd @@ -65,7 +65,7 @@ fi" # # Provide 'boot_nfs' command #------------------------------------------------------------ -setenv nfsargs "setenv bootargs root=/dev/nfs rw nfsroot='${serverip}':'${rootpath}',nolock,nfsvers=3" +setenv nfsargs "setenv bootargs root=/dev/nfs rw nfsroot='${rootpath}',nolock,nfsvers=3" setenv addip "setenv bootargs '${bootargs}' ip='${ipaddr}':'${serverip}':'${gatewayip}':'${netmask}':'${hostname}':eth0:on" setenv boot_nfs " |