Re: [PATCH 4/6] remoteproc: imx_rproc: Simplify IMX_RPROC_SCU_API switch case

2025-09-08 Thread Frank Li
On Mon, Sep 08, 2025 at 09:07:37PM +0800, Peng Fan wrote: > Introduce imx_rproc_scu_api_{start, stop, detect_mode}() helper functions > for all i.MX variants using IMX_RPROC_SCU_API to manage remote processors. > > This allows the removal of the IMX_RPROC_SCU_API switch-case blocks from > imx_rproc

[PATCH 4/6] remoteproc: imx_rproc: Simplify IMX_RPROC_SCU_API switch case

2025-09-08 Thread Peng Fan
Introduce imx_rproc_scu_api_{start, stop, detect_mode}() helper functions for all i.MX variants using IMX_RPROC_SCU_API to manage remote processors. This allows the removal of the IMX_RPROC_SCU_API switch-case blocks from imx_rproc_start(), imx_rproc_stop(), and imx_rproc_detect_mode(), resulting