[PATCH v3 0/3] Implement reset to EDL for qcs9100
Varadarajan Narayanan
quic_varada at quicinc.com
Wed May 7 09:07:30 CEST 2025
Using the 'reboot edl' command in Linux, the platform can reboot to the
Emergency Download mode. Implement the same for U-Boot.
v3: * Introduce a sysreset op that will pass down the 'reset' command
arguments to registered handlers
* Handle 'reset to edl' alone in qcom-psci driver
v2: * Rebased to recent sources
* Dropped the first patch as it is not applicable anymore
* Bind the new driver from psci driver
Varadarajan Narayanan (3):
drivers: sysreset: Add sysreset op that can take arguments
sysreset: Implement PSCI based reset to EDL mode for QCOM SoCs
configs: qcs9100_defconfig: Enable SYSRESET
configs/qcs9100_defconfig | 2 ++
drivers/firmware/psci.c | 4 +++
drivers/sysreset/Kconfig | 6 ++++
drivers/sysreset/Makefile | 1 +
drivers/sysreset/sysreset-uclass.c | 32 +++++++++++++++++++++
drivers/sysreset/sysreset_qcom-psci.c | 40 +++++++++++++++++++++++++++
include/sysreset.h | 18 ++++++++++++
7 files changed, 103 insertions(+)
create mode 100644 drivers/sysreset/sysreset_qcom-psci.c
--
2.34.1
More information about the U-Boot
mailing list