aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/remoteproc.h
diff options
context:
space:
mode:
authorBjorn Andersson <bjorn.andersson@linaro.org>2018-01-05 16:04:18 -0800
committerBjorn Andersson <bjorn.andersson@linaro.org>2018-02-12 11:05:30 -0800
commitc1d35c1ab4242464a0e5953ae69de8aa78156c6c (patch)
tree911fb91cf15f8b9184d0edd6cc81866f6d79cec9 /include/linux/remoteproc.h
parentremoteproc: Add remote processor coredump support (diff)
downloadlinux-dev-c1d35c1ab4242464a0e5953ae69de8aa78156c6c.tar.xz
linux-dev-c1d35c1ab4242464a0e5953ae69de8aa78156c6c.zip
remoteproc: Rename "load_rsc_table" to "parse_fw"
The resource table is just one possible source of information that can be extracted from the firmware file. Generalize this interface to allow drivers to override this with parsers of other types of information. Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'include/linux/remoteproc.h')
-rw-r--r--include/linux/remoteproc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/remoteproc.h b/include/linux/remoteproc.h
index b60c3a31b75d..f16864acedad 100644
--- a/include/linux/remoteproc.h
+++ b/include/linux/remoteproc.h
@@ -344,7 +344,7 @@ struct rproc_ops {
int (*stop)(struct rproc *rproc);
void (*kick)(struct rproc *rproc, int vqid);
void * (*da_to_va)(struct rproc *rproc, u64 da, int len);
- int (*load_rsc_table)(struct rproc *rproc, const struct firmware *fw);
+ int (*parse_fw)(struct rproc *rproc, const struct firmware *fw);
struct resource_table *(*find_loaded_rsc_table)(
struct rproc *rproc, const struct firmware *fw);
int (*load)(struct rproc *rproc, const struct firmware *fw);