mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-17 14:18:14 +01:00
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:
parent
a6713b3a3c
commit
1aa2a745c5
@ -40,3 +40,4 @@ Shell commands
|
|||||||
sbi
|
sbi
|
||||||
true
|
true
|
||||||
scp03
|
scp03
|
||||||
|
reset
|
||||||
|
26
doc/usage/reset.rst
Normal file
26
doc/usage/reset.rst
Normal 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).
|
Loading…
x
Reference in New Issue
Block a user