summaryrefslogtreecommitdiff
path: root/drivers/remoteproc/imx_rproc.h
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2023-07-25 01:24:18 +0300
committerMathieu Poirier <mathieu.poirier@linaro.org>2023-07-27 19:44:17 +0300
commit49f80a7ab988de408518b935c1eab5953c63308e (patch)
treedadac06ea22a22761312aed785c746be7cdd21f8 /drivers/remoteproc/imx_rproc.h
parent05117bafbd6cdbd5639d5f02d298731e16444d7c (diff)
downloadlinux-49f80a7ab988de408518b935c1eab5953c63308e.tar.xz
remoteproc: imx_rproc: Switch iMX8MN/MP from SMCCC to MMIO
The MX8M CM7 boot via SMC call is problematic, since not all versions of ATF support this interface. Extend the MMIO support so it can boot the CM7 on MX8MN/MP instead and discern the two alternatives using DT compatible strings. Signed-off-by: Marek Vasut <marex@denx.de> Reviewed-by: Peng Fan <peng.fan@nxp.com> Link: https://lore.kernel.org/r/20230724222418.163220-2-marex@denx.de Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Diffstat (limited to 'drivers/remoteproc/imx_rproc.h')
-rw-r--r--drivers/remoteproc/imx_rproc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/remoteproc/imx_rproc.h b/drivers/remoteproc/imx_rproc.h
index 1c7e2127c758..79a1b8956d14 100644
--- a/drivers/remoteproc/imx_rproc.h
+++ b/drivers/remoteproc/imx_rproc.h
@@ -31,6 +31,8 @@ struct imx_rproc_dcfg {
u32 src_mask;
u32 src_start;
u32 src_stop;
+ u32 gpr_reg;
+ u32 gpr_wait;
const struct imx_rproc_att *att;
size_t att_size;
enum imx_rproc_method method;