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