mbox series

[PATCHv1,0/5] Add a subcommand 'release' to cmd/cpu.c

Message ID 20240723150400.16650-1-Zhiqiang.Hou@nxp.com
Headers show
Series Add a subcommand 'release' to cmd/cpu.c | expand

Message

Z.Q. Hou July 23, 2024, 3:03 p.m. UTC
From: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>

This patch set is to add a subcommand 'release' to the 'cpu' command
in cmd/cpu.c, making the command is able to release a core to run
baremetal and RTOS applications.

And enabled the 'cpu' command and imx CPU driver for i.MX 8M series
EVK boards and i.MX 93 EVK board.

Hou Zhiqiang (5):
  cpu: add release_core callback
  cpu: imx: implement release_core callback
  cmd: cpu: add release subcommand
  configs: imx8m: enable the 'cpu' command
  configs: imx93: enable the 'cpu' command

 cmd/cpu.c                         | 44 +++++++++++++++++++++++++++++--
 configs/imx8mm_evk_defconfig      |  3 +++
 configs/imx8mn_evk_defconfig      |  3 +++
 configs/imx8mp_evk_defconfig      |  3 +++
 configs/imx93_11x11_evk_defconfig |  1 +
 drivers/cpu/cpu-uclass.c          | 10 +++++++
 drivers/cpu/imx8_cpu.c            | 26 +++++++++++++++++-
 include/cpu.h                     | 15 +++++++++++
 8 files changed, 102 insertions(+), 3 deletions(-)