]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
remoteproc: imx_rproc: Remove the assignement to method
authorPeng Fan <peng.fan@nxp.com>
Fri, 24 Oct 2025 02:51:31 +0000 (10:51 +0800)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Fri, 24 Oct 2025 14:48:22 +0000 (08:48 -0600)
'method' is no longer used in imx_rproc.c, so remove the assignment.
But imx_dsp_rproc.c is still using 'method', so still keep the field
in struct imx_rrpoc_dcfg.

No functional changes.

Reviewed-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Link: https://lore.kernel.org/r/20251024-imx_rproc_c4-v4-4-af83ed3fdbba@nxp.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/remoteproc/imx_rproc.c

index 25f5cb4d414eabed7a166eb2a8ae5e20b6b4f667..02e155e967942d745de4ccd96f9008e4211f9b36 100644 (file)
@@ -1176,7 +1176,6 @@ static const struct imx_rproc_dcfg imx_rproc_cfg_imx8mn_mmio = {
        .gpr_wait       = IMX8M_GPR22_CM7_CPUWAIT,
        .att            = imx_rproc_att_imx8mn,
        .att_size       = ARRAY_SIZE(imx_rproc_att_imx8mn),
-       .method         = IMX_RPROC_MMIO,
        .ops            = &imx_rproc_ops_mmio,
        .flags          = IMX_RPROC_NEED_CLKS,
 };
@@ -1184,7 +1183,6 @@ static const struct imx_rproc_dcfg imx_rproc_cfg_imx8mn_mmio = {
 static const struct imx_rproc_dcfg imx_rproc_cfg_imx8mn = {
        .att            = imx_rproc_att_imx8mn,
        .att_size       = ARRAY_SIZE(imx_rproc_att_imx8mn),
-       .method         = IMX_RPROC_SMC,
        .ops            = &imx_rproc_ops_arm_smc,
        .flags          = IMX_RPROC_NEED_CLKS,
 };
@@ -1196,7 +1194,6 @@ static const struct imx_rproc_dcfg imx_rproc_cfg_imx8mq = {
        .src_stop       = IMX7D_M4_STOP,
        .att            = imx_rproc_att_imx8mq,
        .att_size       = ARRAY_SIZE(imx_rproc_att_imx8mq),
-       .method         = IMX_RPROC_MMIO,
        .ops            = &imx_rproc_ops_mmio,
        .flags          = IMX_RPROC_NEED_CLKS,
 };
@@ -1204,27 +1201,23 @@ static const struct imx_rproc_dcfg imx_rproc_cfg_imx8mq = {
 static const struct imx_rproc_dcfg imx_rproc_cfg_imx8qm = {
        .att            = imx_rproc_att_imx8qm,
        .att_size       = ARRAY_SIZE(imx_rproc_att_imx8qm),
-       .method         = IMX_RPROC_SCU_API,
        .ops            = &imx_rproc_ops_scu_api,
 };
 
 static const struct imx_rproc_dcfg imx_rproc_cfg_imx8qxp = {
        .att            = imx_rproc_att_imx8qxp,
        .att_size       = ARRAY_SIZE(imx_rproc_att_imx8qxp),
-       .method         = IMX_RPROC_SCU_API,
        .ops            = &imx_rproc_ops_scu_api,
 };
 
 static const struct imx_rproc_dcfg imx_rproc_cfg_imx8ulp = {
        .att            = imx_rproc_att_imx8ulp,
        .att_size       = ARRAY_SIZE(imx_rproc_att_imx8ulp),
-       .method         = IMX_RPROC_NONE,
 };
 
 static const struct imx_rproc_dcfg imx_rproc_cfg_imx7ulp = {
        .att            = imx_rproc_att_imx7ulp,
        .att_size       = ARRAY_SIZE(imx_rproc_att_imx7ulp),
-       .method         = IMX_RPROC_NONE,
        .flags          = IMX_RPROC_NEED_SYSTEM_OFF,
 };
 
@@ -1235,7 +1228,6 @@ static const struct imx_rproc_dcfg imx_rproc_cfg_imx7d = {
        .src_stop       = IMX7D_M4_STOP,
        .att            = imx_rproc_att_imx7d,
        .att_size       = ARRAY_SIZE(imx_rproc_att_imx7d),
-       .method         = IMX_RPROC_MMIO,
        .ops            = &imx_rproc_ops_mmio,
        .flags          = IMX_RPROC_NEED_CLKS,
 };
@@ -1247,7 +1239,6 @@ static const struct imx_rproc_dcfg imx_rproc_cfg_imx6sx = {
        .src_stop       = IMX6SX_M4_STOP,
        .att            = imx_rproc_att_imx6sx,
        .att_size       = ARRAY_SIZE(imx_rproc_att_imx6sx),
-       .method         = IMX_RPROC_MMIO,
        .ops            = &imx_rproc_ops_mmio,
        .flags          = IMX_RPROC_NEED_CLKS,
 };
@@ -1255,7 +1246,6 @@ static const struct imx_rproc_dcfg imx_rproc_cfg_imx6sx = {
 static const struct imx_rproc_dcfg imx_rproc_cfg_imx93 = {
        .att            = imx_rproc_att_imx93,
        .att_size       = ARRAY_SIZE(imx_rproc_att_imx93),
-       .method         = IMX_RPROC_SMC,
        .ops            = &imx_rproc_ops_arm_smc,
        .flags          = IMX_RPROC_NEED_CLKS,
 };