firmware: qcom_scm: Add download bit during reboot
During normal restart of a system download bit should be cleared after checking whether download mode is set or not. Change-Id: I0a0de929668b29c9f7b54b86e28842dbe644eb4b Signed-off-by: Meena Pasumarthi <quic_pasumart@quicinc.com>
This commit is contained in:
parent
6046ad8065
commit
7488ed3fc8
@ -2862,7 +2862,8 @@ static void qcom_scm_shutdown(struct platform_device *pdev)
|
||||
qcom_scm_disable_sdi();
|
||||
qcom_scm_halt_spmi_pmic_arbiter();
|
||||
/* Clean shutdown, disable download mode to allow normal restart */
|
||||
qcom_scm_set_download_mode(QCOM_DOWNLOAD_NODUMP, 0);
|
||||
if (download_mode)
|
||||
qcom_scm_set_download_mode(QCOM_DOWNLOAD_NODUMP, 0);
|
||||
}
|
||||
|
||||
static const struct of_device_id qcom_scm_dt_match[] = {
|
||||
|
Loading…
Reference in New Issue
Block a user