diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2007-04-12 19:01:34 -0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2007-04-12 19:01:34 -0400 |
commit | 98750261fbf6348517ef517f617014de8238475f (patch) | |
tree | 05d4a573c235aa6e2aa390e283b379432c838f44 /arch/powerpc | |
parent | db9478086dc9c8b46b19f5308c49caff773110ff (diff) |
[POWERPC] Miscellaneous arch/powerpc Kconfig and platform/Kconfig cleanup
* Cleaned up some whitespace in arch/powerpc/Kconfig
* Moved sourcing of platforms/embedded6xx/Kconfig into platform/Kconfig
* Moved sourcing of platforms/4xx/Kconfig into platform/Kconfig and disabled it
* Removed EMBEDDEDBOOT since its not supported in arch/powerpc
* Removed PC_KEYBOARD since its not used anywhere
* Moved a few CONFIG options around in platform/Kconfig
* Moved interrupt controllers into platform/Kconfig out of bus section
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/Kconfig | 37 | ||||
-rw-r--r-- | arch/powerpc/platforms/Kconfig | 38 |
2 files changed, 30 insertions, 45 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 033666cf0f77..26713da1b524 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig | |||
@@ -192,7 +192,6 @@ config 44x | |||
192 | bool "AMCC 44x" | 192 | bool "AMCC 44x" |
193 | select PPC_DCR_NATIVE | 193 | select PPC_DCR_NATIVE |
194 | 194 | ||
195 | |||
196 | config E200 | 195 | config E200 |
197 | bool "Freescale e200" | 196 | bool "Freescale e200" |
198 | 197 | ||
@@ -375,9 +374,6 @@ source "init/Kconfig" | |||
375 | 374 | ||
376 | source "arch/powerpc/platforms/Kconfig" | 375 | source "arch/powerpc/platforms/Kconfig" |
377 | 376 | ||
378 | source arch/powerpc/platforms/embedded6xx/Kconfig | ||
379 | source arch/powerpc/platforms/4xx/Kconfig | ||
380 | |||
381 | menu "Kernel options" | 377 | menu "Kernel options" |
382 | 378 | ||
383 | config HIGHMEM | 379 | config HIGHMEM |
@@ -459,15 +455,6 @@ config CRASH_DUMP | |||
459 | 455 | ||
460 | Don't change this unless you know what you are doing. | 456 | Don't change this unless you know what you are doing. |
461 | 457 | ||
462 | config EMBEDDEDBOOT | ||
463 | bool | ||
464 | depends on 8xx || 8260 | ||
465 | default y | ||
466 | |||
467 | config PC_KEYBOARD | ||
468 | bool "PC PS/2 style Keyboard" | ||
469 | depends on 4xx || CPM2 | ||
470 | |||
471 | config PPCBUG_NVRAM | 458 | config PPCBUG_NVRAM |
472 | bool "Enable reading PPCBUG NVRAM during boot" if PPLUS || LOPEC | 459 | bool "Enable reading PPCBUG NVRAM during boot" if PPLUS || LOPEC |
473 | default y if PPC_PREP | 460 | default y if PPC_PREP |
@@ -481,7 +468,6 @@ config IRQ_ALL_CPUS | |||
481 | CPU. Generally saying Y is safe, although some problems have been | 468 | CPU. Generally saying Y is safe, although some problems have been |
482 | reported with SMP Power Macintoshes with this option enabled. | 469 | reported with SMP Power Macintoshes with this option enabled. |
483 | 470 | ||
484 | |||
485 | config NUMA | 471 | config NUMA |
486 | bool "NUMA support" | 472 | bool "NUMA support" |
487 | depends on PPC64 | 473 | depends on PPC64 |
@@ -531,10 +517,10 @@ config PPC_64K_PAGES | |||
531 | depends on PPC64 | 517 | depends on PPC64 |
532 | help | 518 | help |
533 | This option changes the kernel logical page size to 64k. On machines | 519 | This option changes the kernel logical page size to 64k. On machines |
534 | without processor support for 64k pages, the kernel will simulate | 520 | without processor support for 64k pages, the kernel will simulate |
535 | them by loading each individual 4k page on demand transparently, | 521 | them by loading each individual 4k page on demand transparently, |
536 | while on hardware with such support, it will be used to map | 522 | while on hardware with such support, it will be used to map |
537 | normal application pages. | 523 | normal application pages. |
538 | 524 | ||
539 | config SCHED_SMT | 525 | config SCHED_SMT |
540 | bool "SMT (Hyperthreading) scheduler support" | 526 | bool "SMT (Hyperthreading) scheduler support" |
@@ -614,18 +600,6 @@ config GENERIC_ISA_DMA | |||
614 | depends on PPC64 || POWER4 || 6xx && !CPM2 | 600 | depends on PPC64 || POWER4 || 6xx && !CPM2 |
615 | default y | 601 | default y |
616 | 602 | ||
617 | config MPIC | ||
618 | bool | ||
619 | default n | ||
620 | |||
621 | config MPIC_WEIRD | ||
622 | bool | ||
623 | default n | ||
624 | |||
625 | config PPC_I8259 | ||
626 | bool | ||
627 | default n | ||
628 | |||
629 | config PPC_INDIRECT_PCI | 603 | config PPC_INDIRECT_PCI |
630 | bool | 604 | bool |
631 | depends on PCI | 605 | depends on PCI |
@@ -857,11 +831,10 @@ source "fs/Kconfig" | |||
857 | 831 | ||
858 | source "arch/powerpc/sysdev/qe_lib/Kconfig" | 832 | source "arch/powerpc/sysdev/qe_lib/Kconfig" |
859 | 833 | ||
860 | |||
861 | source "lib/Kconfig" | 834 | source "lib/Kconfig" |
862 | 835 | ||
863 | menu "Instrumentation Support" | 836 | menu "Instrumentation Support" |
864 | depends on EXPERIMENTAL | 837 | depends on EXPERIMENTAL |
865 | 838 | ||
866 | source "arch/powerpc/oprofile/Kconfig" | 839 | source "arch/powerpc/oprofile/Kconfig" |
867 | 840 | ||
diff --git a/arch/powerpc/platforms/Kconfig b/arch/powerpc/platforms/Kconfig index e173fd49b0ff..86be82a4b9ef 100644 --- a/arch/powerpc/platforms/Kconfig +++ b/arch/powerpc/platforms/Kconfig | |||
@@ -1,6 +1,4 @@ | |||
1 | menu "Platform support" | 1 | menu "Platform support" |
2 | depends on PPC64 || CLASSIC32 || PPC_8xx || PPC_82xx || PPC_83xx || \ | ||
3 | PPC_85xx || PPC_86xx | ||
4 | 2 | ||
5 | choice | 3 | choice |
6 | prompt "Machine type" | 4 | prompt "Machine type" |
@@ -27,14 +25,6 @@ config APUS | |||
27 | <http://linux-apus.sourceforge.net/>. | 25 | <http://linux-apus.sourceforge.net/>. |
28 | endchoice | 26 | endchoice |
29 | 27 | ||
30 | config QUICC_ENGINE | ||
31 | bool | ||
32 | help | ||
33 | The QUICC Engine (QE) is a new generation of communications | ||
34 | coprocessors on Freescale embedded CPUs (akin to CPM in older chips). | ||
35 | Selecting this option means that you wish to build a kernel | ||
36 | for a machine with a QE coprocessor. | ||
37 | |||
38 | source "arch/powerpc/platforms/pseries/Kconfig" | 28 | source "arch/powerpc/platforms/pseries/Kconfig" |
39 | source "arch/powerpc/platforms/iseries/Kconfig" | 29 | source "arch/powerpc/platforms/iseries/Kconfig" |
40 | source "arch/powerpc/platforms/chrp/Kconfig" | 30 | source "arch/powerpc/platforms/chrp/Kconfig" |
@@ -43,14 +33,16 @@ source "arch/powerpc/platforms/powermac/Kconfig" | |||
43 | source "arch/powerpc/platforms/prep/Kconfig" | 33 | source "arch/powerpc/platforms/prep/Kconfig" |
44 | source "arch/powerpc/platforms/maple/Kconfig" | 34 | source "arch/powerpc/platforms/maple/Kconfig" |
45 | source "arch/powerpc/platforms/pasemi/Kconfig" | 35 | source "arch/powerpc/platforms/pasemi/Kconfig" |
46 | source arch/powerpc/platforms/celleb/Kconfig | 36 | source "arch/powerpc/platforms/celleb/Kconfig" |
47 | source arch/powerpc/platforms/ps3/Kconfig | 37 | source "arch/powerpc/platforms/ps3/Kconfig" |
48 | source arch/powerpc/platforms/cell/Kconfig | 38 | source "arch/powerpc/platforms/cell/Kconfig" |
49 | source "arch/powerpc/platforms/8xx/Kconfig" | 39 | source "arch/powerpc/platforms/8xx/Kconfig" |
50 | source "arch/powerpc/platforms/82xx/Kconfig" | 40 | source "arch/powerpc/platforms/82xx/Kconfig" |
51 | source "arch/powerpc/platforms/83xx/Kconfig" | 41 | source "arch/powerpc/platforms/83xx/Kconfig" |
52 | source "arch/powerpc/platforms/85xx/Kconfig" | 42 | source "arch/powerpc/platforms/85xx/Kconfig" |
53 | source "arch/powerpc/platforms/86xx/Kconfig" | 43 | source "arch/powerpc/platforms/86xx/Kconfig" |
44 | source "arch/powerpc/platforms/embedded6xx/Kconfig" | ||
45 | #source "arch/powerpc/platforms/4xx/Kconfig | ||
54 | 46 | ||
55 | config PPC_NATIVE | 47 | config PPC_NATIVE |
56 | bool | 48 | bool |
@@ -75,6 +67,18 @@ config XICS | |||
75 | bool | 67 | bool |
76 | default y | 68 | default y |
77 | 69 | ||
70 | config MPIC | ||
71 | bool | ||
72 | default n | ||
73 | |||
74 | config MPIC_WEIRD | ||
75 | bool | ||
76 | default n | ||
77 | |||
78 | config PPC_I8259 | ||
79 | bool | ||
80 | default n | ||
81 | |||
78 | config U3_DART | 82 | config U3_DART |
79 | bool | 83 | bool |
80 | depends on PPC_MULTIPLATFORM && PPC64 | 84 | depends on PPC_MULTIPLATFORM && PPC64 |
@@ -225,6 +229,14 @@ config TAU_AVERAGE | |||
225 | 229 | ||
226 | If in doubt, say N here. | 230 | If in doubt, say N here. |
227 | 231 | ||
232 | config QUICC_ENGINE | ||
233 | bool | ||
234 | help | ||
235 | The QUICC Engine (QE) is a new generation of communications | ||
236 | coprocessors on Freescale embedded CPUs (akin to CPM in older chips). | ||
237 | Selecting this option means that you wish to build a kernel | ||
238 | for a machine with a QE coprocessor. | ||
239 | |||
228 | config CPM2 | 240 | config CPM2 |
229 | bool | 241 | bool |
230 | default n | 242 | default n |