Using the 'reboot edl' command in Linux, the platform can reboot to the Emergency Download mode. Implement the same for U-Boot.
v2: * Rebased to recent sources * Dropped the first patch as it is not applicable anymore * Bind the new driver from psci driver Varadarajan Narayanan (2): 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 | 7 ++++ drivers/sysreset/Makefile | 1 + drivers/sysreset/sysreset-uclass.c | 7 ++-- drivers/sysreset/sysreset_qcom-psci.c | 48 +++++++++++++++++++++++++++ include/sysreset.h | 7 ++++ 7 files changed, 74 insertions(+), 2 deletions(-) create mode 100644 drivers/sysreset/sysreset_qcom-psci.c -- 2.34.1