projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fa73e7
)
net/tftp: fix build if CMD_BOOTEFI is not set
author
Jörg Krause
<joerg.krause@embedded.rocks>
Fri, 15 Sep 2017 20:16:48 +0000
(22:16 +0200)
committer
Tom Rini
<trini@konsulko.com>
Fri, 22 Sep 2017 11:40:05 +0000
(07:40 -0400)
Fixes:
net/tftp.c:811: undefined reference to `efi_set_bootdev'
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
net/tftp.c
patch
|
blob
|
history
diff --git
a/net/tftp.c
b/net/tftp.c
index
a5ed8c5
..
6671b1f
100644
(file)
--- 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);