diff options
author | Bjorn Andersson <bjorn.andersson@linaro.org> | 2020-06-22 22:19:39 +0300 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2020-07-02 08:10:18 +0300 |
commit | 549b67da660d634e3a4a50a325bd1f5609ddb84b (patch) | |
tree | 37ca550d4b90790aa791666daa857c9725b6adf9 /drivers/remoteproc/qcom_pil_info.h | |
parent | 87ad854dd76ca3534ef2e368265c3566a59e21e0 (diff) | |
download | linux-549b67da660d634e3a4a50a325bd1f5609ddb84b.tar.xz |
remoteproc: qcom: Introduce helper to store pil info in IMEM
A region in IMEM is used to communicate load addresses of remoteproc to
post mortem debug tools. Implement a helper function that can be used to
store this information in order to enable these tools to process
collected ramdumps.
Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Reviewed-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20200622191942.255460-3-bjorn.andersson@linaro.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'drivers/remoteproc/qcom_pil_info.h')
-rw-r--r-- | drivers/remoteproc/qcom_pil_info.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/remoteproc/qcom_pil_info.h b/drivers/remoteproc/qcom_pil_info.h new file mode 100644 index 000000000000..0dce6142935e --- /dev/null +++ b/drivers/remoteproc/qcom_pil_info.h @@ -0,0 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __QCOM_PIL_INFO_H__ +#define __QCOM_PIL_INFO_H__ + +#include <linux/types.h> + +int qcom_pil_info_store(const char *image, phys_addr_t base, size_t size); + +#endif |