From: Bin Meng Date: Fri, 12 Jun 2015 06:52:22 +0000 (+0800) Subject: x86: kconfig: Make MAX_CPUS and AP_STACK_SIZE depend on SMP X-Git-Tag: v2015.10-rc1~190^2~48 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=063374d2f698162d0cc2d6ea44c8e332c639db0a;p=platform%2Fkernel%2Fu-boot.git x86: kconfig: Make MAX_CPUS and AP_STACK_SIZE depend on SMP MAX_CPUS and AP_STACK_SIZE are only meaningful when SMP is on. Signed-off-by: Bin Meng Acked-by: Simon Glass --- diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index e35ae1d..984a917 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -237,6 +237,7 @@ config FSP_TEMP_RAM_ADDR config MAX_CPUS int "Maximum number of CPUs permitted" + depends on SMP default 4 help When using multi-CPU chips it is possible for U-Boot to start up @@ -258,6 +259,7 @@ config SMP config AP_STACK_SIZE hex + depends on SMP default 0x1000 help Each additional CPU started by U-Boot requires its own stack. This