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 8ea064b..0e0be94 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 527ac84..46f8c87 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