[U-Boot] [PATCH] net/bootp.c: fix tftp load if autoload environment var isn't set

Fabio Estevam festevam at gmail.com
Mon Sep 19 15:47:31 CEST 2011


On Mon, Sep 19, 2011 at 4:54 AM, Peter Korsgaard <jacmet at sunsite.dk> wrote:
> 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 at sunsite.dk>

This makes mx31pdk networking to work again at my company's network.

Tested-by: Fabio Estevam <fabio.estevam at freescale.com>

Thanks,

Fabio Estevam


More information about the U-Boot mailing list