net: fastboot: make UDP port net: configurable
authorChristian Gmeiner <christian.gmeiner@gmail.com>
Thu, 13 Jan 2022 07:40:06 +0000 (08:40 +0100)
committerRamon Fried <ramon@neureality.ai>
Sat, 15 Jan 2022 16:54:21 +0000 (18:54 +0200)
commit046bf8d4c512ad6501fe9e77508bbe1292a29fef
tree9f166e65090b08c04528652cad7ada66dc4183e3
parenteab18b3b06bd914f623c3e8e9d2a905b8cea7366
net: fastboot: make UDP port net: configurable

The fastboot protocol uses per default the UDP port 5554. In some cases
it might be needed to change the used port. The fastboot utility provides
a way to specifiy an other port number to use already.

  fastboot -s udp:192.168.1.76:1234 boot fastboot.img

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
drivers/fastboot/Kconfig
net/fastboot.c