All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] stm32mp: stm32prog: fix the content of short help message
@ 2021-06-28 12:44 Patrick Delaunay
  2021-07-16  8:26 ` Patrick DELAUNAY
  0 siblings, 1 reply; 3+ messages in thread
From: Patrick Delaunay @ 2021-06-28 12:44 UTC (permalink / raw)
  To: u-boot; +Cc: Patrick Delaunay, Bin Meng, Patrice Chotard, U-Boot STM32

Reduce the content of short help message for stm32prog command and
removed the carriage return to fix the display of 'help' command when
this command is activated.

Fixes: 954bd1a923a6 ("stm32mp: add the command stm32prog")
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
---

 arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c b/arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c
index feff73c79e..064f51b2c7 100644
--- a/arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c
+++ b/arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c
@@ -177,12 +177,12 @@ cleanup:
 }
 
 U_BOOT_CMD(stm32prog, 5, 0, do_stm32prog,
+	   "start communication with tools STM32Cubeprogrammer",
 	   "<link> <dev> [<addr>] [<size>]\n"
-	   "start communication with tools STM32Cubeprogrammer on <link> with Flashlayout at <addr>",
-	   "<link> = serial|usb\n"
-	   "<dev>  = device instance\n"
-	   "<addr> = address of flashlayout\n"
-	   "<size> = size of flashlayout\n"
+	   "  <link> = serial|usb\n"
+	   "  <dev>  = device instance\n"
+	   "  <addr> = address of flashlayout\n"
+	   "  <size> = size of flashlayout (optional for image with STM32 header)\n"
 );
 
 bool stm32prog_get_tee_partitions(void)
-- 
2.25.1


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

* Re: [PATCH] stm32mp: stm32prog: fix the content of short help message
  2021-06-28 12:44 [PATCH] stm32mp: stm32prog: fix the content of short help message Patrick Delaunay
@ 2021-07-16  8:26 ` Patrick DELAUNAY
  0 siblings, 0 replies; 3+ messages in thread
From: Patrick DELAUNAY @ 2021-07-16  8:26 UTC (permalink / raw)
  To: u-boot; +Cc: Bin Meng, Patrice Chotard, U-Boot STM32

Hi,

On 6/28/21 2:44 PM, Patrick Delaunay wrote:
> Reduce the content of short help message for stm32prog command and
> removed the carriage return to fix the display of 'help' command when
> this command is activated.
>
> Fixes: 954bd1a923a6 ("stm32mp: add the command stm32prog")
> Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
> ---
>
>   arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c | 10 +++++-----
>   1 file changed, 5 insertions(+), 5 deletions(-)
>

Applied to u-boot-stm/master, thanks!

Regards
Patrick


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

* [PATCH] stm32mp: stm32prog: fix the content of short help message
@ 2021-07-01 12:51 Hexagon Email Recovery
  0 siblings, 0 replies; 3+ messages in thread
From: Hexagon Email Recovery @ 2021-07-01 12:51 UTC (permalink / raw)
  To: u-boot; +Cc: patrick.delaunay, bmeng.cn, patrice.chotard, uboot-stm32

This message could not be delivered immediately due to an internal mail routing issue.
The mail routing error has been resolved in the meantime.
We apologize for the delay in delivery and any inconvenience this may have caused.
In case of any questions please contact us via it@hexagon.com.

Original sender: patrick.delaunay@foss.st.com
Original delivery time: 28-Jun-2021 01:06 PM (UTC)
-----------------------------------------------------------------------------------------------------------------------
This email is not from Hexagon’s Office 365 instance. Please be careful while clicking links, opening attachments, or replying to this email. Reduce the content of short help message for stm32prog command and removed the carriage return to fix the display of 'help' command when this command is activated. Fixes: 954bd1a923a6 ("stm32mp: add the command stm32prog") Signed-off-by: Patrick Delaunay --- arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c b/arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c index feff73c79e..064f51b2c7 100644 --- a/arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c +++ b/arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c @@ -177,12 +177,12 @@ cleanup: } U_BOOT_CMD(stm32prog, 5, 0, do_stm32prog, + "start communication with tools STM32Cubeprogrammer", " [] []\n" - "start communication with tools STM32Cubeprogrammer on with Flashlayout at ", - " = serial|usb\n" - " = device instance\n" - " = address of flashlayout\n" - " = size of flashlayout\n" + " = serial|usb\n" + " = device instance\n" + " = address of flashlayout\n" + " = size of flashlayout (optional for image with STM32 header)\n" ); bool stm32prog_get_tee_partitions(void) -- 2.25.1

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

end of thread, other threads:[~2021-07-16  8:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-28 12:44 [PATCH] stm32mp: stm32prog: fix the content of short help message Patrick Delaunay
2021-07-16  8:26 ` Patrick DELAUNAY
2021-07-01 12:51 Hexagon Email Recovery

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.