Commit 97657a8cb444015ac57cc057879fc0cc6be18ab8

Authored by Lukasz Majewski
Committed by Stefano Babic
1 parent 7e6bba20f5

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

board/k+p/bootscripts/tpcboot.cmd
... ... @@ -65,7 +65,7 @@
65 65 #
66 66 # Provide 'boot_nfs' command
67 67 #------------------------------------------------------------
68   -setenv nfsargs "setenv bootargs root=/dev/nfs rw nfsroot='${serverip}':'${rootpath}',nolock,nfsvers=3"
  68 +setenv nfsargs "setenv bootargs root=/dev/nfs rw nfsroot='${rootpath}',nolock,nfsvers=3"
69 69 setenv addip "setenv bootargs '${bootargs}' ip='${ipaddr}':'${serverip}':'${gatewayip}':'${netmask}':'${hostname}':eth0:on"
70 70  
71 71 setenv boot_nfs "