From: Hou Zhiqiang <zhiqiang....@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.
Fixed some problems of the imx8_cpu.c and added i.MX 8M series SoCs support. 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....@nxp.com/ Hou Zhiqiang (12): cpu: add release_core callback cpu: sandbox: implement release_core callback test: cpu: add test for release CPU core. cpu: imx: fix the CPU frequency in cpu_imx_get_info() cpu: imx: fix the CPU type field width cpu: imx: Add i.MX 8M series SoCs cpu: imx: implement release_core callback cmd: cpu: add release subcommand doc: cmd: add documentation for cpu command MAINTAINERS: add entry for cpu command configs: imx8m: enable the 'cpu' command configs: imx93: enable the 'cpu' command --- V3: - Added documentation for 'cpu' command. - Fixed the getting cpu frequency issue in i.MX CPU driver. 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 MAINTAINERS | 7 +++ 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 + doc/usage/cmd/cpu.rst | 82 +++++++++++++++++++++++++++++++ drivers/cpu/cpu-uclass.c | 10 ++++ drivers/cpu/cpu_sandbox.c | 6 +++ drivers/cpu/imx8_cpu.c | 36 ++++++++++++-- include/cpu.h | 15 ++++++ test/dm/cpu.c | 2 + 12 files changed, 207 insertions(+), 5 deletions(-) create mode 100644 doc/usage/cmd/cpu.rst -- 2.43.0