Using the 'reboot edl' command in Linux, the platform can reboot to the Emergency Download mode. Implement the same for U-Boot.
Varadarajan Narayanan (3): mach-snapdragon: Do not define reset_cpu() if SYSRESET is enabled sysreset: Implement PSCI based reset to EDL mode for QCOM SoCs configs: qcs9100_defconfig: Enable SYSRESET arch/arm/mach-snapdragon/board.c | 2 ++ configs/qcs9100_defconfig | 2 ++ drivers/sysreset/Kconfig | 5 +++ drivers/sysreset/Makefile | 1 + drivers/sysreset/sysreset-uclass.c | 7 ++-- drivers/sysreset/sysreset_qcom-psci.c | 47 +++++++++++++++++++++++++++ include/sysreset.h | 2 ++ 7 files changed, 64 insertions(+), 2 deletions(-) create mode 100644 drivers/sysreset/sysreset_qcom-psci.c -- 2.34.1