On Thu, Sep 18, 2025 at 2:52 PM Peng Fan <peng....@nxp.com> wrote: > > Refactor the detach logic to support platform-specific implementations via > the dcfg->ops->detach callback. Allow finer control over detach behavior > depending on the remote processor management method, and make it easier > to add detach support for new SoCs. > > The previous hardcoded SCU API detach logic is now moved into a dedicated > imx_rproc_scu_api_detach() function, and registered via the plat ops > structure. The generic imx_rproc_detach() now delegates to the > platform-specific handler if available. > > Also, the dcfg->method check with IMX_RPROC_SCU_API is removed. > > No functional changes. > > Signed-off-by: Peng Fan <peng....@nxp.com>
Reviewed-by: Daniel Baluta <daniel.bal...@nxp.com>