[PATCH] cmd: Make CMD_MP depend on the CPU framework being disabled

Tom Rini trini at konsulko.com
Thu Sep 25 22:51:30 CEST 2025


The CMD_MP (and cmd/mp.c) command provide a "cpu" command which is
mutually exclusive from the "cpu" command provided by cmd/cpu.c and the
CPU framework. Make CMD_MP depend on CPU not being enabled.

Signed-off-by: Tom Rini <trini at konsulko.com>
---
 cmd/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index 3248583b4e85..c457cc8e5c42 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -2425,7 +2425,7 @@ config CMD_SLEEP
 
 config CMD_MP
 	bool "support for multiprocessor commands"
-	depends on MP
+	depends on MP && !CPU
 	default y
 	help
 	  This enables commands to bringup different processors
-- 
2.43.0



More information about the U-Boot mailing list