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-01 02:01:56 +03:00 committed by Tom Rini
parent a6713b3a3c
commit 1aa2a745c5
2 changed files with 27 additions and 0 deletions

View File

@ -40,3 +40,4 @@ Shell commands
sbi
true
scp03
reset

26
doc/usage/reset.rst Normal file
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).