All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] cmd: correct long text loadb, loadx, loady
@ 2021-01-22 18:00 Heinrich Schuchardt
  2021-01-25 20:08 ` Simon Glass
  0 siblings, 1 reply; 2+ messages in thread
From: Heinrich Schuchardt @ 2021-01-22 18:00 UTC (permalink / raw)
  To: u-boot

The first argument is the load address and not an offset.

The second argument cannot be entered without the first one.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
---
 cmd/load.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/cmd/load.c b/cmd/load.c
index c6a7cc4651..f252c74894 100644
--- a/cmd/load.c
+++ b/cmd/load.c
@@ -1065,25 +1065,25 @@ U_BOOT_CMD(
 U_BOOT_CMD(
 	loadb, 3, 0,	do_load_serial_bin,
 	"load binary file over serial line (kermit mode)",
-	"[ off ] [ baud ]\n"
+	"[ addr [ baud ] ]\n"
 	"    - load binary file over serial line"
-	" with offset 'off' and baudrate 'baud'"
+	" at address 'addr' with baudrate 'baud'"
 );

 U_BOOT_CMD(
 	loadx, 3, 0,	do_load_serial_bin,
 	"load binary file over serial line (xmodem mode)",
-	"[ off ] [ baud ]\n"
+	"[ addr [ baud ] ]\n"
 	"    - load binary file over serial line"
-	" with offset 'off' and baudrate 'baud'"
+	" at address 'addr' with baudrate 'baud'"
 );

 U_BOOT_CMD(
 	loady, 3, 0,	do_load_serial_bin,
 	"load binary file over serial line (ymodem mode)",
-	"[ off ] [ baud ]\n"
+	"[ addr [ baud ] ]\n"
 	"    - load binary file over serial line"
-	" with offset 'off' and baudrate 'baud'"
+	" at address 'addr' with baudrate 'baud'"
 );

 #endif	/* CONFIG_CMD_LOADB */
--
2.29.2

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH 1/1] cmd: correct long text loadb, loadx, loady
  2021-01-22 18:00 [PATCH 1/1] cmd: correct long text loadb, loadx, loady Heinrich Schuchardt
@ 2021-01-25 20:08 ` Simon Glass
  0 siblings, 0 replies; 2+ messages in thread
From: Simon Glass @ 2021-01-25 20:08 UTC (permalink / raw)
  To: u-boot

On Fri, 22 Jan 2021 at 11:00, Heinrich Schuchardt <xypron.glpk@gmx.de> wrote:
>
> The first argument is the load address and not an offset.
>
> The second argument cannot be entered without the first one.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
> ---
>  cmd/load.c | 12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)
>

Reviewed-by: Simon Glass <sjg@chromium.org>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-25 20:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-22 18:00 [PATCH 1/1] cmd: correct long text loadb, loadx, loady Heinrich Schuchardt
2021-01-25 20:08 ` Simon Glass

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.