st 11. 8. 2021 v 12:04 odesÃlatel Michal Simek <michal.si...@xilinx.com> napsal: > > 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.si...@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 >
Applied. WD: Feel free to send the patch on the top of this one. Thanks, Michal -- Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Xilinx Microblaze Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs