]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
cmd: boot: Update reset usage message
authorMichal Simek <michal.simek@xilinx.com>
Wed, 11 Aug 2021 10:01:25 +0000 (12:01 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 26 Aug 2021 06:08:11 +0000 (08:08 +0200)
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>
cmd/boot.c

index fab294e622be04919ef6c2e3ff4969e28ea36375..be67a5980de3658fda2b9a58f5113d273545cd69 100644 (file)
@@ -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