aboutsummaryrefslogtreecommitdiff
path: root/net/fastboot.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-01-17 08:35:11 -0500
committerTom Rini <trini@konsulko.com>2022-01-17 08:35:11 -0500
commitd928b365cc73426b0de883249700b3057b738cf3 (patch)
tree576648536fb0b380fd23a39301fb6510cfff856d /net/fastboot.c
parentd71dbe657c3c22f50ecb3df133e5cdd884daae7d (diff)
parent046bf8d4c512ad6501fe9e77508bbe1292a29fef (diff)
Merge branch 'next' of https://source.denx.de/u-boot/custodians/u-boot-net
- PXE label override support - Fastboot UDP configurable port - new phy driver: TI DP83869HM - and few minor fixes to dsa.
Diffstat (limited to 'net/fastboot.c')
-rw-r--r--net/fastboot.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/net/fastboot.c b/net/fastboot.c
index 7e7a601b9f..139233b86c 100644
--- a/net/fastboot.c
+++ b/net/fastboot.c
@@ -9,9 +9,6 @@
#include <net.h>
#include <net/fastboot.h>
-/* Fastboot port # defined in spec */
-#define WELL_KNOWN_PORT 5554
-
enum {
FASTBOOT_ERROR = 0,
FASTBOOT_QUERY = 1,
@@ -310,7 +307,7 @@ void fastboot_start_server(void)
printf("Using %s device\n", eth_get_name());
printf("Listening for fastboot command on %pI4\n", &net_ip);
- fastboot_our_port = WELL_KNOWN_PORT;
+ fastboot_our_port = CONFIG_UDP_FUNCTION_FASTBOOT_PORT;
#if CONFIG_IS_ENABLED(FASTBOOT_FLASH)
fastboot_set_progress_callback(fastboot_timed_send_info);