aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoic Pallardy2018-07-27 08:14:39 -0500
committerSuman Anna2018-12-18 21:15:02 -0600
commit3c52d91f8acc26867e7c00570e125b375bccf9bb (patch)
treee971814e9c3e3ac4a9df63cb259dfb6d94c97289 /include/linux
parentf47a8bd68a8fd2074ea3b1c6f7d6aa7c5ca303bb (diff)
downloadremoteproc-3c52d91f8acc26867e7c00570e125b375bccf9bb.tar.gz
remoteproc-3c52d91f8acc26867e7c00570e125b375bccf9bb.tar.xz
remoteproc-3c52d91f8acc26867e7c00570e125b375bccf9bb.zip
remoteproc: add name in rproc_mem_entry struct
[ Upstream commit 3265230c5b05fe919291d09e266a8aedc85ebad0 ] Add name field in struct rproc_mem_entry. This new field will be used to match memory area requested in resource table with pre-registered carveout. Signed-off-by: Loic Pallardy <loic.pallardy@st.com> Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> [s-anna@ti.com: cherry-pick commit '3265230c5b05' from v4.20] Signed-off-by: Suman Anna <s-anna@ti.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/remoteproc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/remoteproc.h b/include/linux/remoteproc.h
index e3c5d856b6da..25a00c8b5b7f 100644
--- a/include/linux/remoteproc.h
+++ b/include/linux/remoteproc.h
@@ -312,6 +312,7 @@ struct fw_rsc_vdev {
312 * @len: length, in bytes 312 * @len: length, in bytes
313 * @da: device address 313 * @da: device address
314 * @priv: associated data 314 * @priv: associated data
315 * @name: associated memory region name (optional)
315 * @node: list node 316 * @node: list node
316 */ 317 */
317struct rproc_mem_entry { 318struct rproc_mem_entry {
@@ -320,6 +321,7 @@ struct rproc_mem_entry {
320 int len; 321 int len;
321 u32 da; 322 u32 da;
322 void *priv; 323 void *priv;
324 char name[32];
323 struct list_head node; 325 struct list_head node;
324}; 326};
325 327