summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorBjorn Andersson2018-01-06 01:04:19 +0100
committerBjorn Andersson2018-02-12 20:05:38 +0100
commit4dd27f544c84c4d079049dd716beee192fcc7e03 (patch)
treeb82e6bb9c5394d70e7d71e5273f0015e80099498 /drivers/media
parentremoteproc: Rename "load_rsc_table" to "parse_fw" (diff)
downloadkernel-qcow2-linux-4dd27f544c84c4d079049dd716beee192fcc7e03.tar.gz
kernel-qcow2-linux-4dd27f544c84c4d079049dd716beee192fcc7e03.tar.xz
kernel-qcow2-linux-4dd27f544c84c4d079049dd716beee192fcc7e03.zip
soc: qcom: mdt-loader: Return relocation base
In order to implement support for grabbing core dumps in remoteproc it's necessary to know the relocated base of the image, as the offsets from the virtual memory base might not be based on the physical address. Return the adjusted physical base address to the caller. Acked-by: Andy Gross <andy.gross@linaro.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/platform/qcom/venus/firmware.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/qcom/venus/firmware.c b/drivers/media/platform/qcom/venus/firmware.c
index 521d4b36c090..c4a577848dd7 100644
--- a/drivers/media/platform/qcom/venus/firmware.c
+++ b/drivers/media/platform/qcom/venus/firmware.c
@@ -76,7 +76,7 @@ int venus_boot(struct device *dev, const char *fwname)
}
ret = qcom_mdt_load(dev, mdt, fwname, VENUS_PAS_ID, mem_va, mem_phys,
- mem_size);
+ mem_size, NULL);
release_firmware(mdt);