summaryrefslogtreecommitdiff
path: root/cmd/lwip/dhcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/lwip/dhcp.c')
-rw-r--r--cmd/lwip/dhcp.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/cmd/lwip/dhcp.c b/cmd/lwip/dhcp.c
new file mode 100644
index 00000000000..3894d71f654
--- /dev/null
+++ b/cmd/lwip/dhcp.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(dhcp, 3, 1, do_dhcp,
+ "boot image via network using DHCP/TFTP protocol",
+ "[loadAddress] [[hostIPaddr:]bootfilename]");