diff options
author | Sibi Sankar <sibis@codeaurora.org> | 2018-07-27 17:20:03 +0200 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2018-10-08 08:50:18 +0200 |
commit | 3bf62eb77c7918884d640a2ee25ddb542ac6d0ca (patch) | |
tree | dd6946b00f12cddc511dbd4f2cf4fd577b2d425e /drivers/remoteproc | |
parent | remoteproc: qcom: Introduce Non-PAS ADSP PIL driver (diff) | |
download | linux-3bf62eb77c7918884d640a2ee25ddb542ac6d0ca.tar.xz linux-3bf62eb77c7918884d640a2ee25ddb542ac6d0ca.zip |
remoteproc: qcom: q6v5-pil: Assign the relocated address
Assign the relocated base of the modem image, as the offsets
from the virtual memory might not be based on the physical
address.
Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'drivers/remoteproc')
-rw-r--r-- | drivers/remoteproc/qcom_q6v5_mss.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/remoteproc/qcom_q6v5_mss.c b/drivers/remoteproc/qcom_q6v5_mss.c index a839b07a58b1..3448f1df2e87 100644 --- a/drivers/remoteproc/qcom_q6v5_mss.c +++ b/drivers/remoteproc/qcom_q6v5_mss.c @@ -731,6 +731,7 @@ static int q6v5_mpss_load(struct q6v5 *qproc) } mpss_reloc = relocate ? min_addr : qproc->mpss_phys; + qproc->mpss_reloc = mpss_reloc; /* Load firmware segments */ for (i = 0; i < ehdr->e_phnum; i++) { phdr = &phdrs[i]; |