Skip to content

Commit 58b7c85

Browse files
MrVanmathieupoirier
authored andcommitted
remoteproc: imx_rproc: Ignore create mem entry for resource table
Resource table is used by Linux to get information published by remote processor. It should be not be used for memory allocation, so not create rproc mem entry. Fixes: b29b424 ("remoteproc: imx_rproc: add i.MX specific parse fw hook") Signed-off-by: Peng Fan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mathieu Poirier <[email protected]>
1 parent 5e6a0e0 commit 58b7c85

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/remoteproc/imx_rproc.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,9 @@ static int imx_rproc_prepare(struct rproc *rproc)
423423
if (!strcmp(it.node->name, "vdev0buffer"))
424424
continue;
425425

426+
if (!strcmp(it.node->name, "rsc-table"))
427+
continue;
428+
426429
rmem = of_reserved_mem_lookup(it.node);
427430
if (!rmem) {
428431
dev_err(priv->dev, "unable to acquire memory-region\n");

0 commit comments

Comments
 (0)