diff options
author | Adriano Cordova <adrianox@gmail.com> | 2024-11-11 18:08:58 -0300 |
---|---|---|
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2024-11-16 21:35:05 +0100 |
commit | 2dd076a9c1b4137f0a48e84596fa29da2e957858 (patch) | |
tree | 5cc389e2a77221ef4157c27c713f6d03cbcfa8df /cmd | |
parent | 1de93fda99f800aa1919268035fa2dd0e5109610 (diff) | |
download | u-boot-2dd076a9c1b4137f0a48e84596fa29da2e957858.tar.gz |
net: wget: integrate struct wget_info into legacy wget code
Each wget request now fills the struct wget_info. The efi
bootdevice is now set conditionally to the set_bootdevice
variable in wget_info, and the same holds for lmb memory check.
Signed-off-by: Adriano Cordova <adrianox@gmail.com>
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/net.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/net.c b/cmd/net.c index c90578e1b9f..79525f73a51 100644 --- a/cmd/net.c +++ b/cmd/net.c @@ -196,6 +196,8 @@ U_BOOT_CMD( #if defined(CONFIG_CMD_WGET) static int do_wget(struct cmd_tbl *cmdtp, int flag, int argc, char * const argv[]) { + wget_info = &default_wget_info; + return netboot_common(WGET, cmdtp, argc, argv); } |