Update the reset command documentation to cover 'reset -c' and explain that the default reset type can be overridden through the relevant Kconfig choice.
Signed-off-by: Denis Mukhin <[email protected]> --- Changes since v3: - corrected description for reset command --- doc/usage/cmd/reset.rst | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/doc/usage/cmd/reset.rst b/doc/usage/cmd/reset.rst index 79bc8b9deca5..660527d0b8f9 100644 --- a/doc/usage/cmd/reset.rst +++ b/doc/usage/cmd/reset.rst @@ -11,15 +11,18 @@ Synopsis :: - reset - reset -w + reset [-c|-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. +Perform reset of the CPU. By default does COLD reset unless overridden via +Kconfig CONFIG_SYSRESET_CMD_RESET_DEFAULT_{COLD,WARM,POWER}. + +-c + Do COLD reset: reset CPU and peripheral/DDR; on some boards also resets + external PMIC. -w Do WARM reset: reset CPU but keep peripheral/DDR/PMIC active. -- 2.54.0

