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 <[email protected]>
---
 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

Reply via email to