summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2021-08-11 13:01:25 +0300
committerMichal Simek <michal.simek@xilinx.com>2021-08-26 09:08:11 +0300
commitaa5fb3de23dd05e6da3e3cf7fc20eea983a9dab9 (patch)
treebdf0a9815795ab82154c44ad45478f0fb6bb766e /cmd
parenta84d3b6c563445e9626d77f1504b707f054f77cf (diff)
downloadu-boot-aa5fb3de23dd05e6da3e3cf7fc20eea983a9dab9.tar.xz
cmd: boot: Update reset usage message
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> Reviewed-by: Igor Opaniuk <igor.opaniuk@foundries.io>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/boot.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/boot.c b/cmd/boot.c
index fab294e622..be67a5980d 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