mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-14 04:46:01 +01:00
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:
parent
c28f249995
commit
480245cf27
6
Kconfig
6
Kconfig
@ -454,6 +454,12 @@ config SYS_SRAM_SIZE
|
|||||||
default 0x10000 if TARGET_TRICORDER
|
default 0x10000 if TARGET_TRICORDER
|
||||||
default 0x0
|
default 0x0
|
||||||
|
|
||||||
|
config MP
|
||||||
|
bool "Support for multiprocessor"
|
||||||
|
help
|
||||||
|
This provides an option to bringup different processors
|
||||||
|
in multiprocessor cases.
|
||||||
|
|
||||||
config EXAMPLES
|
config EXAMPLES
|
||||||
bool "Compile API examples"
|
bool "Compile API examples"
|
||||||
depends on !SANDBOX
|
depends on !SANDBOX
|
||||||
|
11
cmd/Kconfig
11
cmd/Kconfig
@ -1827,12 +1827,13 @@ config CMD_SLEEP
|
|||||||
help
|
help
|
||||||
Delay execution for some time
|
Delay execution for some time
|
||||||
|
|
||||||
config MP
|
config CMD_MP
|
||||||
bool "support for multiprocessor"
|
bool "support for multiprocessor commands"
|
||||||
|
depends on MP
|
||||||
|
default y
|
||||||
help
|
help
|
||||||
This provides an option to brinup
|
This enables commands to bringup different processors
|
||||||
different processors in multiprocessor
|
in multiprocessor cases.
|
||||||
cases.
|
|
||||||
|
|
||||||
config CMD_TIMER
|
config CMD_TIMER
|
||||||
bool "timer"
|
bool "timer"
|
||||||
|
@ -100,7 +100,7 @@ obj-$(CONFIG_CMD_MDIO) += mdio.o
|
|||||||
obj-$(CONFIG_CMD_SLEEP) += sleep.o
|
obj-$(CONFIG_CMD_SLEEP) += sleep.o
|
||||||
obj-$(CONFIG_CMD_MMC) += mmc.o
|
obj-$(CONFIG_CMD_MMC) += mmc.o
|
||||||
obj-$(CONFIG_CMD_OPTEE_RPMB) += optee_rpmb.o
|
obj-$(CONFIG_CMD_OPTEE_RPMB) += optee_rpmb.o
|
||||||
obj-$(CONFIG_MP) += mp.o
|
obj-$(CONFIG_CMD_MP) += mp.o
|
||||||
obj-$(CONFIG_CMD_MTD) += mtd.o
|
obj-$(CONFIG_CMD_MTD) += mtd.o
|
||||||
obj-$(CONFIG_CMD_MTDPARTS) += mtdparts.o
|
obj-$(CONFIG_CMD_MTDPARTS) += mtdparts.o
|
||||||
obj-$(CONFIG_CMD_CLONE) += clone.o
|
obj-$(CONFIG_CMD_CLONE) += clone.o
|
||||||
|
Loading…
x
Reference in New Issue
Block a user