blob: 80f0872bb8f98da4249a8a73f1fc43f56820539a [file] [log] [blame]
Jerome Forissier98ad1452024-10-16 12:04:03 +02001// 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)
8U_BOOT_CMD(
9 dhcp, 3, 1, do_dhcp,
10 "boot image via network using DHCP/TFTP protocol",
11 "[loadAddress] [[hostIPaddr:]bootfilename]"
12);
13#endif
Jerome Forissier4d4d7832024-10-16 12:04:05 +020014
15#if defined(CONFIG_CMD_TFTPBOOT)
16U_BOOT_CMD(
17 tftpboot, 3, 0, do_tftpb,
18 "boot image via network using TFTP protocol\n",
19 "[loadAddress] [[hostIPaddr:]bootfilename]"
20);
21#endif