Commit e90547d5 authored by Dong Aisheng's avatar Dong Aisheng Committed by Bjorn Andersson

remoteproc: imx_rproc: Fix rsc-table name

Usually the dash '-'  is preferred in node name.
So far, not dts in upstream kernel, so we just update node name
in driver.

Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
Fixes: 5e4c1243 ("remoteproc: imx_rproc: support remote cores booted before Linux Kernel")
Reviewed-and-tested-by: default avatarPeng Fan <peng.fan@nxp.com>
Signed-off-by: default avatarDong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20210910090621.3073540-6-peng.fan@oss.nxp.comSigned-off-by: default avatarMathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
parent afe670e2
...@@ -604,7 +604,7 @@ static int imx_rproc_addr_init(struct imx_rproc *priv, ...@@ -604,7 +604,7 @@ static int imx_rproc_addr_init(struct imx_rproc *priv,
} }
priv->mem[b].sys_addr = res.start; priv->mem[b].sys_addr = res.start;
priv->mem[b].size = resource_size(&res); priv->mem[b].size = resource_size(&res);
if (!strcmp(node->name, "rsc_table")) if (!strcmp(node->name, "rsc-table"))
priv->rsc_table = priv->mem[b].cpu_addr; priv->rsc_table = priv->mem[b].cpu_addr;
b++; b++;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment