public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH] cmd: boot: Update reset usage message
@ 2021-08-11 10:04 Michal Simek
  2021-08-12 15:52 ` Igor Opaniuk
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Michal Simek @ 2021-08-11 10:04 UTC (permalink / raw)
  To: u-boot, git; +Cc: Igor Opaniuk, Simon Glass

The commit 573a3811edc8 ("sysreset: psci: support system reset in a generic
way with PSCI") has added support for warm reset via PSCI but this hasn't
been reflected in usage message and user has to look at the code how to run
it. That's why update usage text to make this clear.

Here is full help with updated usage:
ZynqMP> help reset
reset - Perform RESET of the CPU

Usage:
reset - cold boot without level specifier
reset -w - warm reset if implemented

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

 cmd/boot.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/cmd/boot.c b/cmd/boot.c
index fab294e622be..be67a5980de3 100644
--- a/cmd/boot.c
+++ b/cmd/boot.c
@@ -58,7 +58,8 @@ U_BOOT_CMD(
 U_BOOT_CMD(
 	reset, 2, 0,	do_reset,
 	"Perform RESET of the CPU",
-	""
+	"- cold boot without level specifier\n"
+	"reset -w - warm reset if implemented"
 );
 
 #ifdef CONFIG_CMD_POWEROFF
-- 
2.32.0


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

end of thread, other threads:[~2021-08-23  6:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-11 10:04 [PATCH] cmd: boot: Update reset usage message Michal Simek
2021-08-12 15:52 ` Igor Opaniuk
2021-08-13  6:11 ` Wolfgang Denk
2021-08-13  6:30   ` Michal Simek
2021-08-13  6:54     ` Wolfgang Denk
2021-08-13  9:21       ` Michal Simek
2021-08-23  6:52 ` Michal Simek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox