doc: usage: add usage details for reset cmd

Add usage details for reset command.

Signed-off-by: Igor Opaniuk <igor.opaniuk@foundries.io>
This commit is contained in:
Igor Opaniuk
2021-04-20 07:31:12 -04:00
committed by Tom Rini
parent a6713b3a3c
commit 1aa2a745c5
2 changed files with 27 additions and 0 deletions
+1
View File
@@ -40,3 +40,4 @@ Shell commands
sbi
true
scp03
reset
+26
View File
@@ -0,0 +1,26 @@
.. SPDX-License-Identifier: GPL-2.0+
reset command
=============
Synopsis
--------
::
reset [-w]
Description
-----------
Perform reset of the CPU. By default does COLD reset, which resets CPU,
DDR and peripherals, on some boards also resets external PMIC.
-w
Do warm WARM, reset CPU but keep peripheral/DDR/PMIC active.
Return value
------------
The return value $? is always set to 0 (true).