summaryrefslogtreecommitdiff
path: root/doc/usage/cmd/reset.rst
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2022-03-28 11:02:56 +0800
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2022-03-31 19:06:16 +0200
commit34e452dd0252c162242a718ed5287a2af622b7d7 (patch)
treea8a179f5b78f829947fdd67ec0f6b685dff46780 /doc/usage/cmd/reset.rst
parent572934d15a67ce5643472b5f6d3151476cc2b89d (diff)
doc: usage: Group all shell command docs into cmd/ sub-directory
Currently all shell command docs are put in the doc/usage root. Let's group them into cmd/ sub-directory. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'doc/usage/cmd/reset.rst')
-rw-r--r--doc/usage/cmd/reset.rst26
1 files changed, 26 insertions, 0 deletions
diff --git a/doc/usage/cmd/reset.rst b/doc/usage/cmd/reset.rst
new file mode 100644
index 00000000000..384d5d60f81
--- /dev/null
+++ b/doc/usage/cmd/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).