summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorIgor Opaniuk <igor.opaniuk@foundries.io>2021-04-01 02:01:56 +0300
committerTom Rini <trini@konsulko.com>2021-04-20 07:31:12 -0400
commit1aa2a745c5e652689626b5cccd758fa9cdb56f9d (patch)
tree99fb57e9f4abae31cdc700b913729844d410dc18 /doc
parenta6713b3a3c7adf4a99e9ad8c04356fce200fb83f (diff)
downloadu-boot-1aa2a745c5e652689626b5cccd758fa9cdb56f9d.tar.gz
u-boot-1aa2a745c5e652689626b5cccd758fa9cdb56f9d.tar.xz
u-boot-1aa2a745c5e652689626b5cccd758fa9cdb56f9d.zip
doc: usage: add usage details for reset cmd
Add usage details for reset command. Signed-off-by: Igor Opaniuk <igor.opaniuk@foundries.io>
Diffstat (limited to 'doc')
-rw-r--r--doc/usage/index.rst1
-rw-r--r--doc/usage/reset.rst26
2 files changed, 27 insertions, 0 deletions
diff --git a/doc/usage/index.rst b/doc/usage/index.rst
index b64cfe444a..528b3c745e 100644
--- a/doc/usage/index.rst
+++ b/doc/usage/index.rst
@@ -40,3 +40,4 @@ Shell commands
sbi
true
scp03
+ reset
diff --git a/doc/usage/reset.rst b/doc/usage/reset.rst
new file mode 100644
index 0000000000..384d5d60f8
--- /dev/null
+++ b/doc/usage/reset.rst
@@ -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).