]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
x86: kconfig: Make MAX_CPUS and AP_STACK_SIZE depend on SMP
authorBin Meng <bmeng.cn@gmail.com>
Fri, 12 Jun 2015 06:52:22 +0000 (14:52 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 9 Sep 2015 11:29:22 +0000 (13:29 +0200)
MAX_CPUS and AP_STACK_SIZE are only meaningful when SMP is on.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
arch/x86/Kconfig

index e35ae1d9ec866d06a8e9f361457b76e7712cfe2a..984a91781953b5130b3414d5c2d54299635d2cd3 100644 (file)
@@ -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