u-boot/net
Peter Korsgaard 7aabad2804 net/bootp.c: fix tftp load if autoload environment var isn't set
Commit 093498669 (Put common autoload code into auto_load() function)
broke handling of autoload environment variable not being set.
The bootp/dhcp code will just keep on requesting IP address forever
and never start TFTP download.

Fix it by moving TftpStart() outside the conditional like it was before.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Tested-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Simon Glass <sjg@chromium.org>
2011-09-19 23:25:08 +02:00
..
bootp.c net/bootp.c: fix tftp load if autoload environment var isn't set 2011-09-19 23:25:08 +02:00
bootp.h net: express the first argument to NetSetTimeout() in milliseconds 2008-10-18 21:54:00 +02:00
dns.c NET: pass source IP address to packet handlers 2011-05-12 19:38:19 +02:00
dns.h Add DNS support 2009-07-22 22:53:44 -07:00
eth.c net/eth.c: throw BUG for eth_get_dev_by_name(NULL) 2011-09-09 23:58:47 +02:00
Makefile Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
net.c net/net.c: Update ipaddr if the environment has changed 2011-06-01 22:17:49 +02:00
nfs.c NET: pass source IP address to packet handlers 2011-05-12 19:38:19 +02:00
nfs.h nfs: accept CONFIG_NFS_READ_SIZE from config file 2009-08-25 13:35:54 -07:00
rarp.c NET: pass source IP address to packet handlers 2011-05-12 19:38:19 +02:00
rarp.h Initial revision 2002-07-20 20:14:13 +00:00
sntp.c NET: pass source IP address to packet handlers 2011-05-12 19:38:19 +02:00
sntp.h * Patch by Masami Komiya, 30 Mar 2005: 2005-04-01 00:25:43 +00:00
tftp.c net/tftp.c: fix typo 2011-05-19 21:38:38 +02:00
tftp.h TFTP: net/tftp.c: add server mode receive 2011-05-19 21:38:26 +02:00