net: add fastboot TCP support
authorDmitrii Merkurev <dimorinny@google.com>
Wed, 12 Apr 2023 18:49:30 +0000 (19:49 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 5 May 2023 21:48:44 +0000 (17:48 -0400)
commit443d319180a68156ca152d164f446e6789004c1d
tree16e2201581b96b585f2d7b194bf262da07fd45d1
parent08fb8da371331c747c265d999bcb3426e3d2d0b3
net: add fastboot TCP support

Known limitations are
1. fastboot reboot doesn't work (answering OK but not rebooting)
2. flashing isn't supported (TCP transport only limitation)

The command syntax is
fastboot tcp

Signed-off-by: Dmitrii Merkurev <dimorinny@google.com>
Cc: Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org>
Cc: Simon Glass <sjg@chromium.org>
Сс: Joe Hershberger <joe.hershberger@ni.com>
Сс: Ramon Fried <rfried.dev@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
12 files changed:
MAINTAINERS
cmd/fastboot.c
drivers/fastboot/Kconfig
drivers/fastboot/fb_common.c
include/net.h
include/net/fastboot.h [deleted file]
include/net/fastboot_tcp.h [new file with mode: 0644]
include/net/fastboot_udp.h [new file with mode: 0644]
net/Makefile
net/fastboot_tcp.c [new file with mode: 0644]
net/fastboot_udp.c [moved from net/fastboot.c with 99% similarity]
net/net.c