summaryrefslogtreecommitdiff
path: root/net/fastboot.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2018-07-02 16:11:09 -0400
committerTom Rini <trini@konsulko.com>2018-07-02 16:11:09 -0400
commitd4c7a9348f27c8e3fdb1b754d8f0d1fa27375d1c (patch)
treee4f82532c04d791c257ef6e5b202389103891777 /net/fastboot.c
parent03b54997d568a6879a045ba775e44d62289a8fb9 (diff)
parenta9ea30d267f26bee0b3a5cdd659624a866da3d19 (diff)
Merge branch 'master' of git://git.denx.de/u-boot-net
Diffstat (limited to 'net/fastboot.c')
-rw-r--r--net/fastboot.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/fastboot.c b/net/fastboot.c
index a9f7c0743da..8afc5529cd9 100644
--- a/net/fastboot.c
+++ b/net/fastboot.c
@@ -309,7 +309,9 @@ void fastboot_start_server(void)
fastboot_our_port = WELL_KNOWN_PORT;
+#if CONFIG_IS_ENABLED(FASTBOOT_FLASH)
fastboot_set_progress_callback(fastboot_timed_send_info);
+#endif
net_set_udp_handler(fastboot_handler);
/* zero out server ether in case the server ip has changed */