cmd: Add Kconfig option for multiprocessor cmds

Add Kconfig option(CONFIG_CMD_MP) to enable or disable multiprocessor
commands. Compile cmd/mp.c based on CONFIG_CMD_MP.

Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
Ashok Reddy Soma
2022-01-17 10:16:50 +01:00
committed by Tom Rini
parent c28f249995
commit 480245cf27
3 changed files with 13 additions and 6 deletions

View File

@@ -1827,12 +1827,13 @@ config CMD_SLEEP
help
Delay execution for some time
config MP
bool "support for multiprocessor"
config CMD_MP
bool "support for multiprocessor commands"
depends on MP
default y
help
This provides an option to brinup
different processors in multiprocessor
cases.
This enables commands to bringup different processors
in multiprocessor cases.
config CMD_TIMER
bool "timer"