diff options
author | Bjorn Andersson <bjorn.andersson@linaro.org> | 2018-01-05 16:04:19 -0800 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2018-02-12 11:05:38 -0800 |
commit | 4dd27f544c84c4d079049dd716beee192fcc7e03 (patch) | |
tree | b82e6bb9c5394d70e7d71e5273f0015e80099498 /drivers/media/platform | |
parent | c1d35c1ab4242464a0e5953ae69de8aa78156c6c (diff) | |
download | linux-stable-4dd27f544c84c4d079049dd716beee192fcc7e03.tar.gz linux-stable-4dd27f544c84c4d079049dd716beee192fcc7e03.tar.bz2 linux-stable-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/platform')
-rw-r--r-- | drivers/media/platform/qcom/venus/firmware.c | 2 |
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); |