diff options
author | Marek Vasut <marex@denx.de> | 2023-07-25 00:24:18 +0200 |
---|---|---|
committer | Mathieu Poirier <mathieu.poirier@linaro.org> | 2023-07-27 10:44:17 -0600 |
commit | 49f80a7ab988de408518b935c1eab5953c63308e (patch) | |
tree | dadac06ea22a22761312aed785c746be7cdd21f8 /drivers/remoteproc/imx_rproc.h | |
parent | 05117bafbd6cdbd5639d5f02d298731e16444d7c (diff) | |
download | linux-stable-49f80a7ab988de408518b935c1eab5953c63308e.tar.gz linux-stable-49f80a7ab988de408518b935c1eab5953c63308e.tar.bz2 linux-stable-49f80a7ab988de408518b935c1eab5953c63308e.zip |
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.h | 2 |
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; |