From fe725640ece0405730507a556061cb3b32586c1f Mon Sep 17 00:00:00 2001 From: Quentin Schulz Date: Thu, 7 May 2026 17:04:06 +0200 Subject: doc: usage: cmd: reset: fix typo "Do warm WARM" doesn't mean anything, I'm assuming the intent was to say "Do WARM reset" so reword. Fixes: 34e452dd0252 ("doc: usage: Group all shell command docs into cmd/ sub-directory") Signed-off-by: Quentin Schulz Reviewed-by: Simon Glass --- doc/usage/cmd/reset.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/usage') diff --git a/doc/usage/cmd/reset.rst b/doc/usage/cmd/reset.rst index 366b17eea16..88261293924 100644 --- a/doc/usage/cmd/reset.rst +++ b/doc/usage/cmd/reset.rst @@ -20,7 +20,7 @@ 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. + Do WARM reset: reset CPU but keep peripheral/DDR/PMIC active. -edl Boot to Emergency DownLoad mode on supported Qualcomm platforms. -- cgit v1.2.3 From e49c84f7bb7b69a9736e8243665b30b46075ab55 Mon Sep 17 00:00:00 2001 From: Quentin Schulz Date: Thu, 7 May 2026 17:04:07 +0200 Subject: doc: usage: cmd: reset: specify when the -edl option is available The option is only available when CONFIG_SYSRESET_QCOM_PSCI is enabled, so let's make that explicit in the boot cmd documentation. Due to the implementation in drivers/sysreset/sysreset-uclass.c do_reset() function, all options to the reset command are passed to all sysreset drivers' sysreset_ops.request_arg callback (including -w) which is only available when CONFIG_SYSRESET_CMD_RESET_ARGS=y. -w, however, works also without this option. Fixes: ef06c5d76ff4 ("cmd: boot: Add '-edl' option to reset command documentation") Signed-off-by: Quentin Schulz Reviewed-by: Simon Glass --- doc/usage/cmd/reset.rst | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'doc/usage') diff --git a/doc/usage/cmd/reset.rst b/doc/usage/cmd/reset.rst index 88261293924..79bc8b9deca 100644 --- a/doc/usage/cmd/reset.rst +++ b/doc/usage/cmd/reset.rst @@ -11,7 +11,9 @@ Synopsis :: - reset [-w] + reset + reset -w + reset -edl Description ----------- @@ -22,8 +24,12 @@ 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. + 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 ------------ -- cgit v1.2.3