[PATCHv1 1/3] mp: imx9: add cpu command support

Simon Glass sjg at chromium.org
Fri Jul 19 17:05:23 CEST 2024


Hi Zhiqiang,

On Fri, 19 Jul 2024 at 12:28, Zhiqiang Hou <Zhiqiang.Hou at nxp.com> wrote:
>
> From: Tao Yang <Tao.Yang1 at nxp.com>
>
> Implement the cpu command to kick cpu core to run barematel or RTOS
> applications.
>
> Signed-off-by: Tao Yang <Tao.Yang1 at nxp.com>
> Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou at nxp.com>
> ---
>  arch/arm/mach-imx/imx9/Makefile |  4 +-
>  arch/arm/mach-imx/imx9/mp.c     | 81 +++++++++++++++++++++++++++++++++
>  2 files changed, 84 insertions(+), 1 deletion(-)
>  create mode 100644 arch/arm/mach-imx/imx9/mp.c

This seems to be adding more code to a deprecated API. It should use
UCLASS_CPU and driver model. See the comment at the top of cpu_func.h

Regards,
Simon


More information about the U-Boot mailing list