diff options
author | Sibi Sankar <sibis@codeaurora.org> | 2018-07-27 18:20:03 +0300 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2018-10-08 09:50:18 +0300 |
commit | 3bf62eb77c7918884d640a2ee25ddb542ac6d0ca (patch) | |
tree | dd6946b00f12cddc511dbd4f2cf4fd577b2d425e /drivers/remoteproc | |
parent | dc160e449122274e0acffa622cc937f90b76a5a4 (diff) | |
download | linux-3bf62eb77c7918884d640a2ee25ddb542ac6d0ca.tar.xz |
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]; |