]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - net/tftp.c
usb: gadget: Call g_dnl_bind_fixup() before testing g_dnl_serial length
[people/ms/u-boot.git] / net / tftp.c
index f2889fe4c9bda3ab1338b9b0f68aa822947f7c4a..ced45ec1f1f4aa836670115a8be30bf2e507b291 100644 (file)
@@ -8,6 +8,7 @@
 
 #include <common.h>
 #include <command.h>
+#include <efi_loader.h>
 #include <mapmem.h>
 #include <net.h>
 #include <net/tftp.h>
@@ -804,6 +805,7 @@ void tftp_start(enum proto_t protocol)
                printf("Load address: 0x%lx\n", load_addr);
                puts("Loading: *\b");
                tftp_state = STATE_SEND_RRQ;
+               efi_set_bootdev("Net", "", tftp_filename);
        }
 
        time_start = get_timer(0);