This fixes a bug introduced by 093498669e77597635a24f326f11efeab213d394.
TftpStart() was not called unless the 'autoload' environment variable was set.

Signed-off-by: Helmut Raiger <helmut.rai...@hale.at>
---
 net/bootp.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/net/bootp.c b/net/bootp.c
index 3db08ea..3157548 100644
--- a/net/bootp.c
+++ b/net/bootp.c
@@ -164,8 +164,9 @@ static void auto_load(void)
                        return;
                }
 #endif
-       TftpStart();
        }
+
+       TftpStart();
 }
 
 #if !defined(CONFIG_CMD_DHCP)
-- 
1.7.4.4



--
Scanned by MailScanner.

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to