]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
remoteproc: imx_rproc: Correct ddr alias for i.MX8M
authorPeng Fan <peng.fan@nxp.com>
Fri, 19 Jul 2024 08:36:11 +0000 (16:36 +0800)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Mon, 29 Jul 2024 15:42:07 +0000 (09:42 -0600)
The DDR Alias address should be 0x40000000 according to RM, so correct
it.

Fixes: 4ab8f9607aad ("remoteproc: imx_rproc: support i.MX8MQ/M")
Reported-by: Terry Lv <terry.lv@nxp.com>
Reviewed-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Link: https://lore.kernel.org/r/20240719-imx_rproc-v2-1-10d0268c7eb1@nxp.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/remoteproc/imx_rproc.c

index 144c8e9a642e8b3ffd075f75640725352de6ca27..3c8b64db8823c75151154e76a6985a03749f6975 100644 (file)
@@ -210,7 +210,7 @@ static const struct imx_rproc_att imx_rproc_att_imx8mq[] = {
        /* QSPI Code - alias */
        { 0x08000000, 0x08000000, 0x08000000, 0 },
        /* DDR (Code) - alias */
-       { 0x10000000, 0x80000000, 0x0FFE0000, 0 },
+       { 0x10000000, 0x40000000, 0x0FFE0000, 0 },
        /* TCML */
        { 0x1FFE0000, 0x007E0000, 0x00020000, ATT_OWN  | ATT_IOMEM},
        /* TCMU */