summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2022-09-04 09:08:11 +0200
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2022-09-09 16:07:54 +0200
commit651031ef7c47f2efb2cec11c18eb9aa2020e0815 (patch)
treee9e26b457595290dc538c7c6238803a69e2730e0
parent5f46c6eba59bc3bd29f0641628891c443930e477 (diff)
cmd: correct short text for tftpboot
The command's name is a misnomer. The command loads a file but does not run (boot) it. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
-rw-r--r--cmd/Kconfig2
-rw-r--r--cmd/net.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 8ea064b8d2..0e0be94f41 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1719,7 +1719,7 @@ config CMD_TFTPBOOT
bool "tftpboot"
default y
help
- tftpboot - boot image via network using TFTP protocol
+ tftpboot - load file via network using TFTP protocol
config CMD_TFTPPUT
bool "tftp put"
diff --git a/cmd/net.c b/cmd/net.c
index 527ac84553..46f8c87b69 100644
--- a/cmd/net.c
+++ b/cmd/net.c
@@ -46,7 +46,7 @@ int do_tftpb(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
U_BOOT_CMD(
tftpboot, 3, 1, do_tftpb,
- "boot image via network using TFTP protocol",
+ "load file via network using TFTP protocol",
"[loadAddress] [[hostIPaddr:]bootfilename]"
);
#endif