]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
cmd: correct short text for tftpboot
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sun, 4 Sep 2022 07:08:11 +0000 (09:08 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 9 Sep 2022 14:07:54 +0000 (16:07 +0200)
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>
cmd/Kconfig
cmd/net.c

index 8ea064b8d2fbbaebaaf8cec7b5ee4d0e2d58a425..0e0be94f41f1e6d4763e925d58ff961f7109638b 100644 (file)
@@ -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"
index 527ac84553a2ef1188d82451f69bd90d289953cb..46f8c87b69201bb9085c29b9f214b7e9373e4d87 100644 (file)
--- 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