[PATCH v4 4/5] cmd: boot: Add '-edl' option to reset command documentation
Varadarajan Narayanan
quic_varada at quicinc.com
Fri Jun 13 07:19:56 CEST 2025
Add help text about '-edl' option to reset command definition and
related documentation.
Signed-off-by: Varadarajan Narayanan <quic_varada at quicinc.com>
---
cmd/boot.c | 3 +++
doc/usage/cmd/reset.rst | 2 ++
2 files changed, 5 insertions(+)
diff --git a/cmd/boot.c b/cmd/boot.c
index 23496cafdf5..d80f9d8c05d 100644
--- a/cmd/boot.c
+++ b/cmd/boot.c
@@ -60,6 +60,9 @@ U_BOOT_CMD(
reset, 2, 0, do_reset,
"Perform RESET of the CPU",
"- cold boot without level specifier\n"
+#ifdef CONFIG_SYSRESET_QCOM_PSCI
+ "reset -edl - Boot to Emergency DownLoad mode\n"
+#endif
"reset -w - warm reset if implemented"
);
diff --git a/doc/usage/cmd/reset.rst b/doc/usage/cmd/reset.rst
index 126db21cdb8..4237f764175 100644
--- a/doc/usage/cmd/reset.rst
+++ b/doc/usage/cmd/reset.rst
@@ -22,6 +22,8 @@ DDR and peripherals, on some boards also resets external PMIC.
-w
Do warm WARM, reset CPU but keep peripheral/DDR/PMIC active.
+-edl
+ Boot to Emergency DownLoad mode on supported Qualcomm platforms.
Return value
------------
--
2.34.1
More information about the U-Boot
mailing list