]> Git Repo - J-u-boot.git/blob - cmd/net-lwip.c
Merge patch series "net: ksz9477: add support for KSZ GbE switches using SPI bus"
[J-u-boot.git] / cmd / net-lwip.c
1 // SPDX-License-Identifier: GPL-2.0+
2 /* Copyright (C) 2024 Linaro Ltd. */
3
4 #include <command.h>
5 #include <net.h>
6
7 #if defined(CONFIG_CMD_DHCP)
8 U_BOOT_CMD(
9         dhcp,   3,      1,      do_dhcp,
10         "boot image via network using DHCP/TFTP protocol",
11         "[loadAddress] [[hostIPaddr:]bootfilename]"
12 );
13 #endif
14
15 #if defined(CONFIG_CMD_PING)
16 U_BOOT_CMD(
17         ping,   2,      1,      do_ping,
18         "send ICMP ECHO_REQUEST to network host",
19         "pingAddress"
20 );
21 #endif
22
23 #if defined(CONFIG_CMD_TFTPBOOT)
24 U_BOOT_CMD(
25         tftpboot,       3,      0,      do_tftpb,
26         "boot image via network using TFTP protocol\n",
27         "[loadAddress] [[hostIPaddr:]bootfilename]"
28 );
29 #endif
30
31 #if defined(CONFIG_CMD_DNS)
32 U_BOOT_CMD(
33         dns,    3,      1,      do_dns,
34         "lookup the IP of a hostname",
35         "hostname [envvar]"
36 );
37 #endif
38
39 #if defined(CONFIG_CMD_WGET)
40 U_BOOT_CMD(
41         wget,   3,      1,      do_wget,
42         "boot image via network using HTTP protocol",
43         "[loadAddress] URL"
44 );
45 #endif
This page took 0.02753 seconds and 4 git commands to generate.