[PATCHv2 0/9] Add a subcommand 'release' to cmd/cpu.c

Zhiqiang Hou Zhiqiang.Hou at nxp.com
Thu Jul 25 11:53:22 CEST 2024


From: Hou Zhiqiang <Zhiqiang.Hou at 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.

dependence:
https://patchwork.ozlabs.org/project/uboot/patch/20240725083655.24486-1-Zhiqiang.Hou@nxp.com/

Hou Zhiqiang (9):
  cpu: add release_core callback
  cpu: sandbox: implement release_core callback
  test: cpu: add test for release CPU core.
  cpu: imx: implement release_core callback
  cpu: imx: fix the CPU type field width
  cpu: imx: Add i.MX 8M series SoCs
  cmd: cpu: add release subcommand
  configs: imx8m: enable the 'cpu' command
  configs: imx93: enable the 'cpu' command

---
V2:
 - Implemented release_core() in sandbox and added test for the new API.
 - Increased the CPU type mask in i.MX CPU driver.
 - Added i.MX 8M series SoCs in i.MX CPU driver

 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/cpu_sandbox.c         |  6 +++++
 drivers/cpu/imx8_cpu.c            | 34 ++++++++++++++++++++++--
 include/cpu.h                     | 15 +++++++++++
 test/dm/cpu.c                     |  2 ++
 10 files changed, 117 insertions(+), 4 deletions(-)

-- 
2.43.0



More information about the U-Boot mailing list