X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=net%2Ftftp.c;h=6671b1f7ca726acf44b6f18f41f9f017c10fd1ec;hb=c3d098e762d3b064ad86e72babfbcaf188180d90;hp=a5ed8c5d0a3507b5f8dc270aae53194db4c0deb7;hpb=00caae6d47645e68d6e5277aceb69592b49381a6;p=u-boot diff --git a/net/tftp.c b/net/tftp.c index a5ed8c5d0a..6671b1f7ca 100644 --- a/net/tftp.c +++ b/net/tftp.c @@ -805,7 +805,9 @@ void tftp_start(enum proto_t protocol) printf("Load address: 0x%lx\n", load_addr); puts("Loading: *\b"); tftp_state = STATE_SEND_RRQ; +#ifdef CONFIG_CMD_BOOTEFI efi_set_bootdev("Net", "", tftp_filename); +#endif } time_start = get_timer(0);