Commit 4c71322b41a657596ee5e5777393ed83e80139c6
Committed by
Simon Glass
1 parent
063374d2f6
Exists in
v2017.01-smarct4x
and in
33 other branches
x86: kconfig: Fix minor nits in MAX_CPUS
Move MAX_CPUS definition after SMP so that it shows below SMP in the menuconfig. Also replace the leading spaces in the MAX_CPUS section with tabs to conform coding standard. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>
Showing 1 changed file with 12 additions and 12 deletions Side-by-side Diff
arch/x86/Kconfig
| ... | ... | @@ -235,18 +235,6 @@ |
| 235 | 235 | Stack top address which is used in FspInit after DRAM is ready and |
| 236 | 236 | CAR is disabled. |
| 237 | 237 | |
| 238 | -config MAX_CPUS | |
| 239 | - int "Maximum number of CPUs permitted" | |
| 240 | - depends on SMP | |
| 241 | - default 4 | |
| 242 | - help | |
| 243 | - When using multi-CPU chips it is possible for U-Boot to start up | |
| 244 | - more than one CPU. The stack memory used by all of these CPUs is | |
| 245 | - pre-allocated so at present U-Boot wants to know the maximum | |
| 246 | - number of CPUs that may be present. Set this to at least as high | |
| 247 | - as the number of CPUs in your system (it uses about 4KB of RAM for | |
| 248 | - each CPU). | |
| 249 | - | |
| 250 | 238 | config SMP |
| 251 | 239 | bool "Enable Symmetric Multiprocessing" |
| 252 | 240 | default n |
| ... | ... | @@ -256,6 +244,18 @@ |
| 256 | 244 | obtained using the 'cpu' command. If this option is disabled, then |
| 257 | 245 | only one CPU will be enabled regardless of the number of CPUs |
| 258 | 246 | available. |
| 247 | + | |
| 248 | +config MAX_CPUS | |
| 249 | + int "Maximum number of CPUs permitted" | |
| 250 | + depends on SMP | |
| 251 | + default 4 | |
| 252 | + help | |
| 253 | + When using multi-CPU chips it is possible for U-Boot to start up | |
| 254 | + more than one CPU. The stack memory used by all of these CPUs is | |
| 255 | + pre-allocated so at present U-Boot wants to know the maximum | |
| 256 | + number of CPUs that may be present. Set this to at least as high | |
| 257 | + as the number of CPUs in your system (it uses about 4KB of RAM for | |
| 258 | + each CPU). | |
| 259 | 259 | |
| 260 | 260 | config AP_STACK_SIZE |
| 261 | 261 | hex |