summaryrefslogtreecommitdiff
path: root/arch/x86/Kconfig
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2015-06-12 14:52:22 +0800
committerSimon Glass <sjg@chromium.org>2015-07-14 18:03:15 -0600
commit063374d2f698162d0cc2d6ea44c8e332c639db0a (patch)
treec79e3464a3db38ee5c9bd6cf7845deac26978ba4 /arch/x86/Kconfig
parentbe3f06bcc47e04bfc5fb7c900958918e2d019ef4 (diff)
downloadu-boot-063374d2f698162d0cc2d6ea44c8e332c639db0a.tar.gz
u-boot-063374d2f698162d0cc2d6ea44c8e332c639db0a.tar.bz2
u-boot-063374d2f698162d0cc2d6ea44c8e332c639db0a.zip
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 <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r--arch/x86/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index e35ae1d9ec..984a917819 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