aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/fastboot_tcp.h
diff options
context:
space:
mode:
authorDmitrii Merkurev <dimorinny@google.com>2023-04-12 19:49:30 +0100
committerTom Rini <trini@konsulko.com>2023-05-05 17:48:44 -0400
commit443d319180a68156ca152d164f446e6789004c1d (patch)
tree16e2201581b96b585f2d7b194bf262da07fd45d1 /include/net/fastboot_tcp.h
parent08fb8da371331c747c265d999bcb3426e3d2d0b3 (diff)
downloadu-boot-443d319180a68156ca152d164f446e6789004c1d.tar.gz
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>
Diffstat (limited to 'include/net/fastboot_tcp.h')
-rw-r--r--include/net/fastboot_tcp.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/net/fastboot_tcp.h b/include/net/fastboot_tcp.h
new file mode 100644
index 00000000000..6cf29d52e93
--- /dev/null
+++ b/include/net/fastboot_tcp.h
@@ -0,0 +1,14 @@
+/* SPDX-License-Identifier: BSD-2-Clause
+ *
+ * Copyright (C) 2023 The Android Open Source Project
+ */
+
+#ifndef __NET_FASTBOOT_TCP_H__
+#define __NET_FASTBOOT_TCP_H__
+
+/**
+ * Wait for incoming tcp fastboot comands.
+ */
+void fastboot_tcp_start_server(void);
+
+#endif /* __NET_FASTBOOT_TCP_H__ */