]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: wget: allow EFI boot
authorJerome Forissier <jerome.forissier@linaro.org>
Wed, 11 Sep 2024 09:58:22 +0000 (11:58 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 24 Sep 2024 19:41:21 +0000 (13:41 -0600)
commit0ebbed66b07cd3acd08a072b225c738c986d35a9
treecd318759e2ba8a2e05768334e2b840b0564d1326
parent620c02eee120a9d40307beee94d788df6dbdd1a9
net: wget: allow EFI boot

wget followed by bootefi currently fails as follows:

 U-Boot> wget 200000 192.168.0.30:helloworld.efi
 Waiting for Ethernet connection... done.
 HTTP/1.0 200 OK
 Packets received 13, Transfer Successful
 Bytes transferred = 12720 (31b0 hex)
 U-Boot> bootefi 200000
 No UEFI binary known at 200000
 U-Boot>

Fix the problem by adding the missing efi_set_bootdev() call.

Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Peter Robinson <pbrobinson@gmail.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
net/wget.c