mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 00:41:17 +00:00
4c010932a5
Adapt and refresh patches to apply. DSA and ethernet driver patches are dropped as they will be replaced with the latest version that was sent upstream. Signed-off-by: Robert Marko <robimarko@gmail.com>
28 lines
938 B
Diff
28 lines
938 B
Diff
From c668fd2c4d9ad4a510fd214a2da83bd9b67a2508 Mon Sep 17 00:00:00 2001
|
|
From: Robert Marko <robimarko@gmail.com>
|
|
Date: Sun, 13 Aug 2023 18:13:08 +0200
|
|
Subject: [PATCH] Revert "firmware: qcom_scm: Clear download bit during reboot"
|
|
|
|
This reverts commit a3ea89b5978dbcd0fa55f675c5a1e04611093709.
|
|
|
|
It is breaking reboot on IPQ4019 boards, so revert until a proper fix
|
|
is found.
|
|
|
|
Signed-off-by: Robert Marko <robimarko@gmail.com>
|
|
---
|
|
drivers/firmware/qcom_scm.c | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
--- a/drivers/firmware/qcom_scm.c
|
|
+++ b/drivers/firmware/qcom_scm.c
|
|
@@ -1459,7 +1459,8 @@ static int qcom_scm_probe(struct platfor
|
|
static void qcom_scm_shutdown(struct platform_device *pdev)
|
|
{
|
|
/* Clean shutdown, disable download mode to allow normal restart */
|
|
- qcom_scm_set_download_mode(false);
|
|
+ if (download_mode)
|
|
+ qcom_scm_set_download_mode(false);
|
|
}
|
|
|
|
static const struct of_device_id qcom_scm_dt_match[] = {
|