Skip to contentSkip to conversation

cmd: Make CMD_MP depend on the CPU framework being disabled

PATCH In review Tom Rini 1 participant 2 messages Sep 25, 2025 – Oct 9, 2025

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 cmd: Make CMD_MP depend on the CPU framework being disabled

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.

---
 cmd/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
cmd/Kconfig +1 -1
index 3248583b4e85..c457cc8e5c42 100644
@@ -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
Signature · 1 line
2.43.0
author
#1 lore raw
Quoted 5 lines · Tom Rini

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.

Applied to u-boot/master, thanks!

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

      commit: 583a45c33f3040a2e936c2d4012fe1b3a6edb537
Signature · 1 line
Tom