ipq40xx: 6.6: refresh kernel patches
[openwrt/staging/nbd.git] / target / linux / ipq40xx / patches-6.6 / 004-v6.7-firmware-qcom_scm-disable-SDI-if-required.patch
index ae7e9f97c07657829830b90d4c40f39f62cba546..a296d8c9a2d13e007e36da2d19ff18bec2607d02 100644 (file)
@@ -27,9 +27,9 @@ Signed-off-by: Bjorn Andersson <andersson@kernel.org>
 
 --- a/drivers/firmware/qcom_scm.c
 +++ b/drivers/firmware/qcom_scm.c
-@@ -407,6 +407,29 @@ int qcom_scm_set_remote_state(u32 state,
+@@ -410,6 +410,29 @@ int qcom_scm_set_remote_state(u32 state,
  }
- EXPORT_SYMBOL(qcom_scm_set_remote_state);
+ EXPORT_SYMBOL_GPL(qcom_scm_set_remote_state);
  
 +static int qcom_scm_disable_sdi(void)
 +{
@@ -57,7 +57,7 @@ Signed-off-by: Bjorn Andersson <andersson@kernel.org>
  static int __qcom_scm_set_dload_mode(struct device *dev, bool enable)
  {
        struct qcom_scm_desc desc = {
-@@ -1411,6 +1434,13 @@ static int qcom_scm_probe(struct platfor
+@@ -1467,6 +1490,13 @@ static int qcom_scm_probe(struct platfor
  
        __get_convention();
  
@@ -73,7 +73,7 @@ Signed-off-by: Bjorn Andersson <andersson@kernel.org>
         * will cause the boot stages to enter download mode, unless
 --- a/drivers/firmware/qcom_scm.h
 +++ b/drivers/firmware/qcom_scm.h
-@@ -77,6 +77,7 @@ extern int scm_legacy_call(struct device
+@@ -80,6 +80,7 @@ extern int scm_legacy_call(struct device
  #define QCOM_SCM_SVC_BOOT             0x01
  #define QCOM_SCM_BOOT_SET_ADDR                0x01
  #define QCOM_SCM_BOOT_TERMINATE_PC    0x02