diff options
Diffstat (limited to 'arch/powerpc/Kconfig')
-rw-r--r-- | arch/powerpc/Kconfig | 94 |
1 files changed, 66 insertions, 28 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index bb2efdd566a9..df338c5cc910 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig | |||
@@ -26,9 +26,6 @@ config MMU | |||
26 | bool | 26 | bool |
27 | default y | 27 | default y |
28 | 28 | ||
29 | config UID16 | ||
30 | bool | ||
31 | |||
32 | config GENERIC_HARDIRQS | 29 | config GENERIC_HARDIRQS |
33 | bool | 30 | bool |
34 | default y | 31 | default y |
@@ -50,7 +47,7 @@ config PPC | |||
50 | 47 | ||
51 | config EARLY_PRINTK | 48 | config EARLY_PRINTK |
52 | bool | 49 | bool |
53 | default y if PPC64 | 50 | default y |
54 | 51 | ||
55 | config COMPAT | 52 | config COMPAT |
56 | bool | 53 | bool |
@@ -74,15 +71,28 @@ config ARCH_MAY_HAVE_PC_FDC | |||
74 | bool | 71 | bool |
75 | default y | 72 | default y |
76 | 73 | ||
74 | config PPC_OF | ||
75 | def_bool y | ||
76 | |||
77 | config PPC_UDBG_16550 | ||
78 | bool | ||
79 | default n | ||
80 | |||
81 | config GENERIC_TBSYNC | ||
82 | bool | ||
83 | default y if PPC32 && SMP | ||
84 | default n | ||
85 | |||
77 | menu "Processor support" | 86 | menu "Processor support" |
78 | choice | 87 | choice |
79 | prompt "Processor Type" | 88 | prompt "Processor Type" |
80 | depends on PPC32 | 89 | depends on PPC32 |
81 | default 6xx | 90 | default 6xx |
82 | 91 | ||
83 | config 6xx | 92 | config CLASSIC32 |
84 | bool "6xx/7xx/74xx" | 93 | bool "6xx/7xx/74xx" |
85 | select PPC_FPU | 94 | select PPC_FPU |
95 | select 6xx | ||
86 | help | 96 | help |
87 | There are four families of PowerPC chips supported. The more common | 97 | There are four families of PowerPC chips supported. The more common |
88 | types (601, 603, 604, 740, 750, 7400), the Motorola embedded | 98 | types (601, 603, 604, 740, 750, 7400), the Motorola embedded |
@@ -96,12 +106,20 @@ config 6xx | |||
96 | 106 | ||
97 | config PPC_52xx | 107 | config PPC_52xx |
98 | bool "Freescale 52xx" | 108 | bool "Freescale 52xx" |
109 | select 6xx | ||
110 | select PPC_FPU | ||
99 | 111 | ||
100 | config PPC_82xx | 112 | config PPC_82xx |
101 | bool "Freescale 82xx" | 113 | bool "Freescale 82xx" |
114 | select 6xx | ||
115 | select PPC_FPU | ||
102 | 116 | ||
103 | config PPC_83xx | 117 | config PPC_83xx |
104 | bool "Freescale 83xx" | 118 | bool "Freescale 83xx" |
119 | select 6xx | ||
120 | select FSL_SOC | ||
121 | select 83xx | ||
122 | select PPC_FPU | ||
105 | 123 | ||
106 | config 40x | 124 | config 40x |
107 | bool "AMCC 40x" | 125 | bool "AMCC 40x" |
@@ -137,6 +155,13 @@ config POWER4 | |||
137 | depends on PPC64 | 155 | depends on PPC64 |
138 | def_bool y | 156 | def_bool y |
139 | 157 | ||
158 | config 6xx | ||
159 | bool | ||
160 | |||
161 | # this is temp to handle compat with arch=ppc | ||
162 | config 83xx | ||
163 | bool | ||
164 | |||
140 | config PPC_FPU | 165 | config PPC_FPU |
141 | bool | 166 | bool |
142 | default y if PPC64 | 167 | default y if PPC64 |
@@ -169,7 +194,7 @@ config PHYS_64BIT | |||
169 | 194 | ||
170 | config ALTIVEC | 195 | config ALTIVEC |
171 | bool "AltiVec Support" | 196 | bool "AltiVec Support" |
172 | depends on 6xx || POWER4 | 197 | depends on CLASSIC32 || POWER4 |
173 | ---help--- | 198 | ---help--- |
174 | This option enables kernel support for the Altivec extensions to the | 199 | This option enables kernel support for the Altivec extensions to the |
175 | PowerPC processor. The kernel currently supports saving and restoring | 200 | PowerPC processor. The kernel currently supports saving and restoring |
@@ -227,7 +252,7 @@ config SMP | |||
227 | If you don't know what to do here, say N. | 252 | If you don't know what to do here, say N. |
228 | 253 | ||
229 | config NR_CPUS | 254 | config NR_CPUS |
230 | int "Maximum number of CPUs (2-32)" | 255 | int "Maximum number of CPUs (2-128)" |
231 | range 2 128 | 256 | range 2 128 |
232 | depends on SMP | 257 | depends on SMP |
233 | default "32" if PPC64 | 258 | default "32" if PPC64 |
@@ -242,7 +267,7 @@ endmenu | |||
242 | source "init/Kconfig" | 267 | source "init/Kconfig" |
243 | 268 | ||
244 | menu "Platform support" | 269 | menu "Platform support" |
245 | depends on PPC64 || 6xx | 270 | depends on PPC64 || CLASSIC32 |
246 | 271 | ||
247 | choice | 272 | choice |
248 | prompt "Machine type" | 273 | prompt "Machine type" |
@@ -278,6 +303,7 @@ config PPC_PSERIES | |||
278 | select PPC_I8259 | 303 | select PPC_I8259 |
279 | select PPC_RTAS | 304 | select PPC_RTAS |
280 | select RTAS_ERROR_LOGGING | 305 | select RTAS_ERROR_LOGGING |
306 | select PPC_UDBG_16550 | ||
281 | default y | 307 | default y |
282 | 308 | ||
283 | config PPC_CHRP | 309 | config PPC_CHRP |
@@ -287,6 +313,7 @@ config PPC_CHRP | |||
287 | select PPC_INDIRECT_PCI | 313 | select PPC_INDIRECT_PCI |
288 | select PPC_RTAS | 314 | select PPC_RTAS |
289 | select PPC_MPC106 | 315 | select PPC_MPC106 |
316 | select PPC_UDBG_16550 | ||
290 | default y | 317 | default y |
291 | 318 | ||
292 | config PPC_PMAC | 319 | config PPC_PMAC |
@@ -300,6 +327,7 @@ config PPC_PMAC64 | |||
300 | bool | 327 | bool |
301 | depends on PPC_PMAC && POWER4 | 328 | depends on PPC_PMAC && POWER4 |
302 | select U3_DART | 329 | select U3_DART |
330 | select MPIC_BROKEN_U3 | ||
303 | select GENERIC_TBSYNC | 331 | select GENERIC_TBSYNC |
304 | default y | 332 | default y |
305 | 333 | ||
@@ -308,6 +336,7 @@ config PPC_PREP | |||
308 | depends on PPC_MULTIPLATFORM && PPC32 && BROKEN | 336 | depends on PPC_MULTIPLATFORM && PPC32 && BROKEN |
309 | select PPC_I8259 | 337 | select PPC_I8259 |
310 | select PPC_INDIRECT_PCI | 338 | select PPC_INDIRECT_PCI |
339 | select PPC_UDBG_16550 | ||
311 | default y | 340 | default y |
312 | 341 | ||
313 | config PPC_MAPLE | 342 | config PPC_MAPLE |
@@ -316,6 +345,7 @@ config PPC_MAPLE | |||
316 | select U3_DART | 345 | select U3_DART |
317 | select MPIC_BROKEN_U3 | 346 | select MPIC_BROKEN_U3 |
318 | select GENERIC_TBSYNC | 347 | select GENERIC_TBSYNC |
348 | select PPC_UDBG_16550 | ||
319 | default n | 349 | default n |
320 | help | 350 | help |
321 | This option enables support for the Maple 970FX Evaluation Board. | 351 | This option enables support for the Maple 970FX Evaluation Board. |
@@ -326,11 +356,7 @@ config PPC_CELL | |||
326 | depends on PPC_MULTIPLATFORM && PPC64 | 356 | depends on PPC_MULTIPLATFORM && PPC64 |
327 | select PPC_RTAS | 357 | select PPC_RTAS |
328 | select MMIO_NVRAM | 358 | select MMIO_NVRAM |
329 | 359 | select PPC_UDBG_16550 | |
330 | config PPC_OF | ||
331 | bool | ||
332 | depends on PPC_MULTIPLATFORM # for now | ||
333 | default y | ||
334 | 360 | ||
335 | config XICS | 361 | config XICS |
336 | depends on PPC_PSERIES | 362 | depends on PPC_PSERIES |
@@ -384,13 +410,14 @@ config IBMVIO | |||
384 | bool | 410 | bool |
385 | default y | 411 | default y |
386 | 412 | ||
387 | config PPC_MPC106 | 413 | config IBMEBUS |
388 | bool | 414 | depends on PPC_PSERIES |
389 | default n | 415 | bool "Support for GX bus based adapters" |
416 | help | ||
417 | Bus device driver for GX bus based adapters. | ||
390 | 418 | ||
391 | config GENERIC_TBSYNC | 419 | config PPC_MPC106 |
392 | bool | 420 | bool |
393 | default y if CONFIG_PPC32 && CONFIG_SMP | ||
394 | default n | 421 | default n |
395 | 422 | ||
396 | source "drivers/cpufreq/Kconfig" | 423 | source "drivers/cpufreq/Kconfig" |
@@ -473,8 +500,10 @@ endmenu | |||
473 | 500 | ||
474 | source arch/powerpc/platforms/embedded6xx/Kconfig | 501 | source arch/powerpc/platforms/embedded6xx/Kconfig |
475 | source arch/powerpc/platforms/4xx/Kconfig | 502 | source arch/powerpc/platforms/4xx/Kconfig |
503 | source arch/powerpc/platforms/83xx/Kconfig | ||
476 | source arch/powerpc/platforms/85xx/Kconfig | 504 | source arch/powerpc/platforms/85xx/Kconfig |
477 | source arch/powerpc/platforms/8xx/Kconfig | 505 | source arch/powerpc/platforms/8xx/Kconfig |
506 | source arch/powerpc/platforms/cell/Kconfig | ||
478 | 507 | ||
479 | menu "Kernel options" | 508 | menu "Kernel options" |
480 | 509 | ||
@@ -544,6 +573,16 @@ config KEXEC | |||
544 | support. As of this writing the exact hardware interface is | 573 | support. As of this writing the exact hardware interface is |
545 | strongly in flux, so no good recommendation can be made. | 574 | strongly in flux, so no good recommendation can be made. |
546 | 575 | ||
576 | config CRASH_DUMP | ||
577 | bool "kernel crash dumps (EXPERIMENTAL)" | ||
578 | depends on PPC_MULTIPLATFORM && PPC64 && EXPERIMENTAL | ||
579 | help | ||
580 | Build a kernel suitable for use as a kdump capture kernel. | ||
581 | The kernel will be linked at a different address than normal, and | ||
582 | so can only be used for Kdump. | ||
583 | |||
584 | Don't change this unless you know what you are doing. | ||
585 | |||
547 | config EMBEDDEDBOOT | 586 | config EMBEDDEDBOOT |
548 | bool | 587 | bool |
549 | depends on 8xx || 8260 | 588 | depends on 8xx || 8260 |
@@ -578,11 +617,12 @@ config ARCH_SELECT_MEMORY_MODEL | |||
578 | depends on PPC64 | 617 | depends on PPC64 |
579 | 618 | ||
580 | config ARCH_FLATMEM_ENABLE | 619 | config ARCH_FLATMEM_ENABLE |
581 | def_bool y | 620 | def_bool y |
582 | depends on PPC64 && !NUMA | 621 | depends on (PPC64 && !NUMA) || PPC32 |
583 | 622 | ||
584 | config ARCH_SPARSEMEM_ENABLE | 623 | config ARCH_SPARSEMEM_ENABLE |
585 | def_bool y | 624 | def_bool y |
625 | depends on PPC64 | ||
586 | 626 | ||
587 | config ARCH_SPARSEMEM_DEFAULT | 627 | config ARCH_SPARSEMEM_DEFAULT |
588 | def_bool y | 628 | def_bool y |
@@ -694,7 +734,7 @@ config PPC_I8259 | |||
694 | config PPC_INDIRECT_PCI | 734 | config PPC_INDIRECT_PCI |
695 | bool | 735 | bool |
696 | depends on PCI | 736 | depends on PCI |
697 | default y if 40x || 44x || 85xx || 83xx | 737 | default y if 40x || 44x || 85xx |
698 | default n | 738 | default n |
699 | 739 | ||
700 | config EISA | 740 | config EISA |
@@ -703,13 +743,16 @@ config EISA | |||
703 | config SBUS | 743 | config SBUS |
704 | bool | 744 | bool |
705 | 745 | ||
746 | config FSL_SOC | ||
747 | bool | ||
748 | |||
706 | # Yes MCA RS/6000s exist but Linux-PPC does not currently support any | 749 | # Yes MCA RS/6000s exist but Linux-PPC does not currently support any |
707 | config MCA | 750 | config MCA |
708 | bool | 751 | bool |
709 | 752 | ||
710 | config PCI | 753 | config PCI |
711 | bool "PCI support" if 40x || CPM2 || 83xx || 85xx || PPC_MPC52xx || (EMBEDDED && PPC_ISERIES) | 754 | bool "PCI support" if 40x || CPM2 || PPC_83xx || 85xx || PPC_MPC52xx || (EMBEDDED && PPC_ISERIES) |
712 | default y if !40x && !CPM2 && !8xx && !APUS && !83xx && !85xx | 755 | default y if !40x && !CPM2 && !8xx && !APUS && !PPC_83xx && !85xx |
713 | default PCI_PERMEDIA if !4xx && !CPM2 && !8xx && APUS | 756 | default PCI_PERMEDIA if !4xx && !CPM2 && !8xx && APUS |
714 | default PCI_QSPAN if !4xx && !CPM2 && 8xx | 757 | default PCI_QSPAN if !4xx && !CPM2 && 8xx |
715 | help | 758 | help |
@@ -722,11 +765,6 @@ config PCI_DOMAINS | |||
722 | bool | 765 | bool |
723 | default PCI | 766 | default PCI |
724 | 767 | ||
725 | config MPC83xx_PCI2 | ||
726 | bool " Supprt for 2nd PCI host controller" | ||
727 | depends on PCI && MPC834x | ||
728 | default y if MPC834x_SYS | ||
729 | |||
730 | config PCI_QSPAN | 768 | config PCI_QSPAN |
731 | bool "QSpan PCI" | 769 | bool "QSpan PCI" |
732 | depends on !4xx && !CPM2 && 8xx | 770 | depends on !4xx && !CPM2 && 8xx |