common: relocate fdt_blob in global_data for FDTSRC_EMBED case
[u-boot.git] / cmd / net-lwip.c
blob0fd446ecb20094bb8de10ccbf89176909726d619
1 // SPDX-License-Identifier: GPL-2.0+
2 /* Copyright (C) 2024 Linaro Ltd. */
4 #include <command.h>
5 #include <net.h>
7 #if defined(CONFIG_CMD_DHCP)
8 U_BOOT_CMD(dhcp, 3, 1, do_dhcp,
9 "boot image via network using DHCP/TFTP protocol",
10 "[loadAddress] [[hostIPaddr:]bootfilename]");
11 #endif
13 #if defined(CONFIG_CMD_PING)
14 U_BOOT_CMD(ping, 2, 1, do_ping, "send ICMP ECHO_REQUEST to network host",
15 "pingAddress");
16 #endif
18 #if defined(CONFIG_CMD_TFTPBOOT)
19 U_BOOT_CMD(tftpboot, 3, 0, do_tftpb,
20 "boot image via network using TFTP protocol\n",
21 "[loadAddress] [[hostIPaddr:]bootfilename]");
22 #endif
24 #if defined(CONFIG_CMD_DNS)
25 U_BOOT_CMD(dns, 3, 1, do_dns, "lookup the IP of a hostname",
26 "hostname [envvar]");
27 #endif
29 #if defined(CONFIG_CMD_WGET)
30 U_BOOT_CMD(wget, 3, 1, do_wget,
31 "boot image via network using HTTP/HTTPS protocol",
32 "[loadAddress] url\n"
33 "wget [loadAddress] [host:]path"
35 #endif