blob: 79bc8b9deca5f84fbaf251d7de7498b13908b8d2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
.. SPDX-License-Identifier: GPL-2.0+
.. index::
single: reset (command)
reset command
=============
Synopsis
--------
::
reset
reset -w
reset -edl
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 reset: reset CPU but keep peripheral/DDR/PMIC active.
All other options require CONFIG_SYSRESET_CMD_RESET_ARGS=y.
-edl
Boot to Emergency DownLoad mode on supported Qualcomm platforms. Unsupported
platforms will print an error message but the command will successfully
return (having done nothing). Requires CONFIG_SYSRESET_QCOM_PSCI=y.
Return value
------------
The return value $? is always set to 0 (true).
|