From: Sibi Sankar Date: Fri, 27 Jul 2018 15:20:03 +0000 (+0530) Subject: remoteproc: qcom: q6v5-pil: Assign the relocated address X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=3bf62eb77c7918884d640a2ee25ddb542ac6d0ca;p=linux.git 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 Signed-off-by: Bjorn Andersson --- diff --git a/drivers/remoteproc/qcom_q6v5_mss.c b/drivers/remoteproc/qcom_q6v5_mss.c index a839b07a58b1d..3448f1df2e877 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];