diff options
Diffstat (limited to 'arch/powerpc/Kconfig')
-rw-r--r-- | arch/powerpc/Kconfig | 105 |
1 files changed, 89 insertions, 16 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 116d7d3683ed..291c95ac4b31 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig | |||
@@ -112,7 +112,7 @@ choice | |||
112 | default 6xx | 112 | default 6xx |
113 | 113 | ||
114 | config CLASSIC32 | 114 | config CLASSIC32 |
115 | bool "6xx/7xx/74xx" | 115 | bool "52xx/6xx/7xx/74xx" |
116 | select PPC_FPU | 116 | select PPC_FPU |
117 | select 6xx | 117 | select 6xx |
118 | help | 118 | help |
@@ -121,16 +121,18 @@ config CLASSIC32 | |||
121 | versions (821, 823, 850, 855, 860, 52xx, 82xx, 83xx), the AMCC | 121 | versions (821, 823, 850, 855, 860, 52xx, 82xx, 83xx), the AMCC |
122 | embedded versions (403 and 405) and the high end 64 bit Power | 122 | embedded versions (403 and 405) and the high end 64 bit Power |
123 | processors (POWER 3, POWER4, and IBM PPC970 also known as G5). | 123 | processors (POWER 3, POWER4, and IBM PPC970 also known as G5). |
124 | |||
125 | This option is the catch-all for 6xx types, including some of the | ||
126 | embedded versions. Unless there is see an option for the specific | ||
127 | chip family you are using, you want this option. | ||
128 | |||
129 | You do not want this if you are building a kernel for a 64 bit | ||
130 | IBM RS/6000 or an Apple G5, choose 6xx. | ||
131 | |||
132 | If unsure, select this option | ||
124 | 133 | ||
125 | Unless you are building a kernel for one of the embedded processor | ||
126 | systems, 64 bit IBM RS/6000 or an Apple G5, choose 6xx. | ||
127 | Note that the kernel runs in 32-bit mode even on 64-bit chips. | 134 | Note that the kernel runs in 32-bit mode even on 64-bit chips. |
128 | 135 | ||
129 | config PPC_52xx | ||
130 | bool "Freescale 52xx" | ||
131 | select 6xx | ||
132 | select PPC_FPU | ||
133 | |||
134 | config PPC_82xx | 136 | config PPC_82xx |
135 | bool "Freescale 82xx" | 137 | bool "Freescale 82xx" |
136 | select 6xx | 138 | select 6xx |
@@ -160,9 +162,11 @@ config PPC_86xx | |||
160 | 162 | ||
161 | config 40x | 163 | config 40x |
162 | bool "AMCC 40x" | 164 | bool "AMCC 40x" |
165 | select PPC_DCR_NATIVE | ||
163 | 166 | ||
164 | config 44x | 167 | config 44x |
165 | bool "AMCC 44x" | 168 | bool "AMCC 44x" |
169 | select PPC_DCR_NATIVE | ||
166 | 170 | ||
167 | config 8xx | 171 | config 8xx |
168 | bool "Freescale 8xx" | 172 | bool "Freescale 8xx" |
@@ -208,6 +212,24 @@ config PPC_FPU | |||
208 | bool | 212 | bool |
209 | default y if PPC64 | 213 | default y if PPC64 |
210 | 214 | ||
215 | config PPC_DCR_NATIVE | ||
216 | bool | ||
217 | default n | ||
218 | |||
219 | config PPC_DCR_MMIO | ||
220 | bool | ||
221 | default n | ||
222 | |||
223 | config PPC_DCR | ||
224 | bool | ||
225 | depends on PPC_DCR_NATIVE || PPC_DCR_MMIO | ||
226 | default y | ||
227 | |||
228 | config PPC_OF_PLATFORM_PCI | ||
229 | bool | ||
230 | depends on PPC64 # not supported on 32 bits yet | ||
231 | default n | ||
232 | |||
211 | config BOOKE | 233 | config BOOKE |
212 | bool | 234 | bool |
213 | depends on E200 || E500 | 235 | depends on E200 || E500 |
@@ -227,6 +249,7 @@ config PTE_64BIT | |||
227 | config PHYS_64BIT | 249 | config PHYS_64BIT |
228 | bool 'Large physical address support' if E500 | 250 | bool 'Large physical address support' if E500 |
229 | depends on 44x || E500 | 251 | depends on 44x || E500 |
252 | select RESOURCES_64BIT | ||
230 | default y if 44x | 253 | default y if 44x |
231 | ---help--- | 254 | ---help--- |
232 | This option enables kernel support for larger than 32-bit physical | 255 | This option enables kernel support for larger than 32-bit physical |
@@ -369,11 +392,13 @@ config PPC_PSERIES | |||
369 | select PPC_RTAS | 392 | select PPC_RTAS |
370 | select RTAS_ERROR_LOGGING | 393 | select RTAS_ERROR_LOGGING |
371 | select PPC_UDBG_16550 | 394 | select PPC_UDBG_16550 |
395 | select PPC_NATIVE | ||
372 | default y | 396 | default y |
373 | 397 | ||
374 | config PPC_ISERIES | 398 | config PPC_ISERIES |
375 | bool "IBM Legacy iSeries" | 399 | bool "IBM Legacy iSeries" |
376 | depends on PPC_MULTIPLATFORM && PPC64 | 400 | depends on PPC_MULTIPLATFORM && PPC64 |
401 | select PPC_INDIRECT_IO | ||
377 | 402 | ||
378 | config PPC_CHRP | 403 | config PPC_CHRP |
379 | bool "Common Hardware Reference Platform (CHRP) based machines" | 404 | bool "Common Hardware Reference Platform (CHRP) based machines" |
@@ -384,14 +409,35 @@ config PPC_CHRP | |||
384 | select PPC_RTAS | 409 | select PPC_RTAS |
385 | select PPC_MPC106 | 410 | select PPC_MPC106 |
386 | select PPC_UDBG_16550 | 411 | select PPC_UDBG_16550 |
412 | select PPC_NATIVE | ||
413 | default y | ||
414 | |||
415 | config PPC_MPC52xx | ||
416 | bool | ||
417 | default n | ||
418 | |||
419 | config PPC_EFIKA | ||
420 | bool "bPlan Efika 5k2. MPC5200B based computer" | ||
421 | depends on PPC_MULTIPLATFORM && PPC32 | ||
422 | select PPC_RTAS | ||
423 | select RTAS_PROC | ||
424 | select PPC_MPC52xx | ||
425 | select PPC_NATIVE | ||
387 | default y | 426 | default y |
388 | 427 | ||
428 | config PPC_LITE5200 | ||
429 | bool "Freescale Lite5200 Eval Board" | ||
430 | depends on PPC_MULTIPLATFORM && PPC32 | ||
431 | select PPC_MPC52xx | ||
432 | default n | ||
433 | |||
389 | config PPC_PMAC | 434 | config PPC_PMAC |
390 | bool "Apple PowerMac based machines" | 435 | bool "Apple PowerMac based machines" |
391 | depends on PPC_MULTIPLATFORM | 436 | depends on PPC_MULTIPLATFORM |
392 | select MPIC | 437 | select MPIC |
393 | select PPC_INDIRECT_PCI if PPC32 | 438 | select PPC_INDIRECT_PCI if PPC32 |
394 | select PPC_MPC106 if PPC32 | 439 | select PPC_MPC106 if PPC32 |
440 | select PPC_NATIVE | ||
395 | default y | 441 | default y |
396 | 442 | ||
397 | config PPC_PMAC64 | 443 | config PPC_PMAC64 |
@@ -411,6 +457,7 @@ config PPC_PREP | |||
411 | select PPC_I8259 | 457 | select PPC_I8259 |
412 | select PPC_INDIRECT_PCI | 458 | select PPC_INDIRECT_PCI |
413 | select PPC_UDBG_16550 | 459 | select PPC_UDBG_16550 |
460 | select PPC_NATIVE | ||
414 | default y | 461 | default y |
415 | 462 | ||
416 | config PPC_MAPLE | 463 | config PPC_MAPLE |
@@ -422,6 +469,7 @@ config PPC_MAPLE | |||
422 | select GENERIC_TBSYNC | 469 | select GENERIC_TBSYNC |
423 | select PPC_UDBG_16550 | 470 | select PPC_UDBG_16550 |
424 | select PPC_970_NAP | 471 | select PPC_970_NAP |
472 | select PPC_NATIVE | ||
425 | default n | 473 | default n |
426 | help | 474 | help |
427 | This option enables support for the Maple 970FX Evaluation Board. | 475 | This option enables support for the Maple 970FX Evaluation Board. |
@@ -434,6 +482,7 @@ config PPC_PASEMI | |||
434 | select MPIC | 482 | select MPIC |
435 | select PPC_UDBG_16550 | 483 | select PPC_UDBG_16550 |
436 | select GENERIC_TBSYNC | 484 | select GENERIC_TBSYNC |
485 | select PPC_NATIVE | ||
437 | help | 486 | help |
438 | This option enables support for PA Semi's PWRficient line | 487 | This option enables support for PA Semi's PWRficient line |
439 | of SoC processors, including PA6T-1682M | 488 | of SoC processors, including PA6T-1682M |
@@ -445,6 +494,11 @@ config PPC_CELL | |||
445 | config PPC_CELL_NATIVE | 494 | config PPC_CELL_NATIVE |
446 | bool | 495 | bool |
447 | select PPC_CELL | 496 | select PPC_CELL |
497 | select PPC_DCR_MMIO | ||
498 | select PPC_OF_PLATFORM_PCI | ||
499 | select PPC_INDIRECT_IO | ||
500 | select PPC_NATIVE | ||
501 | select MPIC | ||
448 | default n | 502 | default n |
449 | 503 | ||
450 | config PPC_IBM_CELL_BLADE | 504 | config PPC_IBM_CELL_BLADE |
@@ -456,6 +510,22 @@ config PPC_IBM_CELL_BLADE | |||
456 | select PPC_UDBG_16550 | 510 | select PPC_UDBG_16550 |
457 | select UDBG_RTAS_CONSOLE | 511 | select UDBG_RTAS_CONSOLE |
458 | 512 | ||
513 | config PPC_PS3 | ||
514 | bool "Sony PS3" | ||
515 | depends on PPC_MULTIPLATFORM && PPC64 | ||
516 | select PPC_CELL | ||
517 | help | ||
518 | This option enables support for the Sony PS3 game console | ||
519 | and other platforms using the PS3 hypervisor. | ||
520 | |||
521 | config PPC_NATIVE | ||
522 | bool | ||
523 | depends on PPC_MULTIPLATFORM | ||
524 | help | ||
525 | Support for running natively on the hardware, i.e. without | ||
526 | a hypervisor. This option is not user-selectable but should | ||
527 | be selected by all platforms that need it. | ||
528 | |||
459 | config UDBG_RTAS_CONSOLE | 529 | config UDBG_RTAS_CONSOLE |
460 | bool "RTAS based debug console" | 530 | bool "RTAS based debug console" |
461 | depends on PPC_RTAS | 531 | depends on PPC_RTAS |
@@ -517,6 +587,15 @@ config PPC_970_NAP | |||
517 | bool | 587 | bool |
518 | default n | 588 | default n |
519 | 589 | ||
590 | config PPC_INDIRECT_IO | ||
591 | bool | ||
592 | select GENERIC_IOMAP | ||
593 | default n | ||
594 | |||
595 | config GENERIC_IOMAP | ||
596 | bool | ||
597 | default n | ||
598 | |||
520 | source "drivers/cpufreq/Kconfig" | 599 | source "drivers/cpufreq/Kconfig" |
521 | 600 | ||
522 | config CPU_FREQ_PMAC | 601 | config CPU_FREQ_PMAC |
@@ -594,12 +673,6 @@ config TAU_AVERAGE | |||
594 | 673 | ||
595 | If in doubt, say N here. | 674 | If in doubt, say N here. |
596 | 675 | ||
597 | config PPC_TODC | ||
598 | depends on EMBEDDED6xx | ||
599 | bool "Generic Time-of-day Clock (TODC) support" | ||
600 | ---help--- | ||
601 | This adds support for many TODC/RTC chips. | ||
602 | |||
603 | endmenu | 676 | endmenu |
604 | 677 | ||
605 | source arch/powerpc/platforms/embedded6xx/Kconfig | 678 | source arch/powerpc/platforms/embedded6xx/Kconfig |
@@ -610,6 +683,7 @@ source arch/powerpc/platforms/85xx/Kconfig | |||
610 | source arch/powerpc/platforms/86xx/Kconfig | 683 | source arch/powerpc/platforms/86xx/Kconfig |
611 | source arch/powerpc/platforms/8xx/Kconfig | 684 | source arch/powerpc/platforms/8xx/Kconfig |
612 | source arch/powerpc/platforms/cell/Kconfig | 685 | source arch/powerpc/platforms/cell/Kconfig |
686 | source arch/powerpc/platforms/ps3/Kconfig | ||
613 | 687 | ||
614 | menu "Kernel options" | 688 | menu "Kernel options" |
615 | 689 | ||
@@ -790,7 +864,6 @@ source "arch/powerpc/platforms/prep/Kconfig" | |||
790 | 864 | ||
791 | config CMDLINE_BOOL | 865 | config CMDLINE_BOOL |
792 | bool "Default bootloader kernel arguments" | 866 | bool "Default bootloader kernel arguments" |
793 | depends on !PPC_ISERIES | ||
794 | 867 | ||
795 | config CMDLINE | 868 | config CMDLINE |
796 | string "Initial kernel command string" | 869 | string "Initial kernel command string" |
@@ -880,7 +953,7 @@ config MCA | |||
880 | 953 | ||
881 | config PCI | 954 | config PCI |
882 | bool "PCI support" if 40x || CPM2 || PPC_83xx || PPC_85xx || PPC_86xx \ | 955 | bool "PCI support" if 40x || CPM2 || PPC_83xx || PPC_85xx || PPC_86xx \ |
883 | || PPC_MPC52xx || (EMBEDDED && PPC_ISERIES) || MPC7448HPC2 | 956 | || PPC_MPC52xx || (EMBEDDED && PPC_ISERIES) || MPC7448HPC2 || PPC_PS3 |
884 | default y if !40x && !CPM2 && !8xx && !APUS && !PPC_83xx \ | 957 | default y if !40x && !CPM2 && !8xx && !APUS && !PPC_83xx \ |
885 | && !PPC_85xx && !PPC_86xx | 958 | && !PPC_85xx && !PPC_86xx |
886 | default PCI_PERMEDIA if !4xx && !CPM2 && !8xx && APUS | 959 | default PCI_PERMEDIA if !4xx && !CPM2 && !8xx && APUS |