summaryrefslogtreecommitdiff
path: root/cmd/lwip/tftp.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/lwip/tftp.c')
-rw-r--r--cmd/lwip/tftp.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/cmd/lwip/tftp.c b/cmd/lwip/tftp.c
new file mode 100644
index 00000000000..6bb7a3733a2
--- /dev/null
+++ b/cmd/lwip/tftp.c
@@ -0,0 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0+
+/* Copyright (C) 2024-2025 Linaro Ltd. */
+
+#include <command.h>
+#include <net.h>
+
+U_BOOT_CMD(tftpboot, 3, 0, do_tftpb,
+ "boot image via network using TFTP protocol",
+ "[loadAddress] [[hostIPaddr:]bootfilename]");