Igor Opaniuk | d1584e7 | 2021-04-01 02:01:56 +0300 | [diff] [blame] | 1 | .. SPDX-License-Identifier: GPL-2.0+ |
2 | |||||
3 | reset command | ||||
4 | ============= | ||||
5 | |||||
6 | Synopsis | ||||
7 | -------- | ||||
8 | |||||
9 | :: | ||||
10 | |||||
11 | reset [-w] | ||||
12 | |||||
13 | Description | ||||
14 | ----------- | ||||
15 | |||||
16 | Perform reset of the CPU. By default does COLD reset, which resets CPU, | ||||
17 | DDR and peripherals, on some boards also resets external PMIC. | ||||
18 | |||||
19 | -w | ||||
20 | Do warm WARM, reset CPU but keep peripheral/DDR/PMIC active. | ||||
21 | |||||
22 | |||||
23 | Return value | ||||
24 | ------------ | ||||
25 | |||||
26 | The return value $? is always set to 0 (true). |