From: Igor Opaniuk Date: Wed, 31 Mar 2021 23:01:56 +0000 (+0300) Subject: doc: usage: add usage details for reset cmd X-Git-Tag: v2021.07-rc1~11^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1aa2a745c5e652689626b5cccd758fa9cdb56f9d;p=pandora-u-boot.git doc: usage: add usage details for reset cmd Add usage details for reset command. Signed-off-by: Igor Opaniuk --- diff --git a/doc/usage/index.rst b/doc/usage/index.rst index b64cfe444a3..528b3c745e7 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 00000000000..384d5d60f81 --- /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).