Files
u-boot/net
Heinrich Schuchardt 1f68057e03 net: eth_bootdev_hunt() should not run DHCP
Currently when booting dhcp_run() may be executed multiple times:
once in eth_bootdev_hunt() and once in the network booting bootmeth.

We need to call eth_bootdev_hunt() when setting up the EFI sub-system to
supply the simple network protocol. We don't need an IP address set up.

We can reduce the bootime by not executing dhcp_run() in
eth_bootdev_hunt().

Furthermore eth_bootdev_hunt() with autostart=yes leads on the legacy
network stack leads to downloading a file via TFTP and to booting the
downloaded file.

Instead of running dchp_run() just check that there is a network device
in eth_bootdev_hunt().

Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2025-01-05 02:30:48 +01:00
..
2024-12-25 22:31:04 -06:00
2023-12-21 08:54:37 -05:00
2024-07-15 12:12:18 -06:00
2023-06-14 15:48:45 -04:00
2024-07-15 12:12:18 -06:00
2024-12-25 22:31:04 -06:00
2023-12-21 08:54:37 -05:00
2024-11-16 21:35:05 +01:00
2024-05-05 11:21:39 -03:00
2024-12-28 11:59:42 -06:00
2024-07-15 12:12:18 -06:00
2024-07-15 12:12:18 -06:00
2023-12-21 08:54:37 -05:00
2024-07-15 12:12:18 -06:00
2018-07-02 14:14:20 -05:00