mirror of https://gitee.com/openkylin/linux.git
[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>
This commit is contained in:
parent
db9478086d
commit
98750261fb
|
@ -192,7 +192,6 @@ config 44x
|
||||||
bool "AMCC 44x"
|
bool "AMCC 44x"
|
||||||
select PPC_DCR_NATIVE
|
select PPC_DCR_NATIVE
|
||||||
|
|
||||||
|
|
||||||
config E200
|
config E200
|
||||||
bool "Freescale e200"
|
bool "Freescale e200"
|
||||||
|
|
||||||
|
@ -375,9 +374,6 @@ source "init/Kconfig"
|
||||||
|
|
||||||
source "arch/powerpc/platforms/Kconfig"
|
source "arch/powerpc/platforms/Kconfig"
|
||||||
|
|
||||||
source arch/powerpc/platforms/embedded6xx/Kconfig
|
|
||||||
source arch/powerpc/platforms/4xx/Kconfig
|
|
||||||
|
|
||||||
menu "Kernel options"
|
menu "Kernel options"
|
||||||
|
|
||||||
config HIGHMEM
|
config HIGHMEM
|
||||||
|
@ -459,15 +455,6 @@ config CRASH_DUMP
|
||||||
|
|
||||||
Don't change this unless you know what you are doing.
|
Don't change this unless you know what you are doing.
|
||||||
|
|
||||||
config EMBEDDEDBOOT
|
|
||||||
bool
|
|
||||||
depends on 8xx || 8260
|
|
||||||
default y
|
|
||||||
|
|
||||||
config PC_KEYBOARD
|
|
||||||
bool "PC PS/2 style Keyboard"
|
|
||||||
depends on 4xx || CPM2
|
|
||||||
|
|
||||||
config PPCBUG_NVRAM
|
config PPCBUG_NVRAM
|
||||||
bool "Enable reading PPCBUG NVRAM during boot" if PPLUS || LOPEC
|
bool "Enable reading PPCBUG NVRAM during boot" if PPLUS || LOPEC
|
||||||
default y if PPC_PREP
|
default y if PPC_PREP
|
||||||
|
@ -481,7 +468,6 @@ config IRQ_ALL_CPUS
|
||||||
CPU. Generally saying Y is safe, although some problems have been
|
CPU. Generally saying Y is safe, although some problems have been
|
||||||
reported with SMP Power Macintoshes with this option enabled.
|
reported with SMP Power Macintoshes with this option enabled.
|
||||||
|
|
||||||
|
|
||||||
config NUMA
|
config NUMA
|
||||||
bool "NUMA support"
|
bool "NUMA support"
|
||||||
depends on PPC64
|
depends on PPC64
|
||||||
|
@ -531,10 +517,10 @@ config PPC_64K_PAGES
|
||||||
depends on PPC64
|
depends on PPC64
|
||||||
help
|
help
|
||||||
This option changes the kernel logical page size to 64k. On machines
|
This option changes the kernel logical page size to 64k. On machines
|
||||||
without processor support for 64k pages, the kernel will simulate
|
without processor support for 64k pages, the kernel will simulate
|
||||||
them by loading each individual 4k page on demand transparently,
|
them by loading each individual 4k page on demand transparently,
|
||||||
while on hardware with such support, it will be used to map
|
while on hardware with such support, it will be used to map
|
||||||
normal application pages.
|
normal application pages.
|
||||||
|
|
||||||
config SCHED_SMT
|
config SCHED_SMT
|
||||||
bool "SMT (Hyperthreading) scheduler support"
|
bool "SMT (Hyperthreading) scheduler support"
|
||||||
|
@ -614,18 +600,6 @@ config GENERIC_ISA_DMA
|
||||||
depends on PPC64 || POWER4 || 6xx && !CPM2
|
depends on PPC64 || POWER4 || 6xx && !CPM2
|
||||||
default y
|
default y
|
||||||
|
|
||||||
config MPIC
|
|
||||||
bool
|
|
||||||
default n
|
|
||||||
|
|
||||||
config MPIC_WEIRD
|
|
||||||
bool
|
|
||||||
default n
|
|
||||||
|
|
||||||
config PPC_I8259
|
|
||||||
bool
|
|
||||||
default n
|
|
||||||
|
|
||||||
config PPC_INDIRECT_PCI
|
config PPC_INDIRECT_PCI
|
||||||
bool
|
bool
|
||||||
depends on PCI
|
depends on PCI
|
||||||
|
@ -857,11 +831,10 @@ source "fs/Kconfig"
|
||||||
|
|
||||||
source "arch/powerpc/sysdev/qe_lib/Kconfig"
|
source "arch/powerpc/sysdev/qe_lib/Kconfig"
|
||||||
|
|
||||||
|
|
||||||
source "lib/Kconfig"
|
source "lib/Kconfig"
|
||||||
|
|
||||||
menu "Instrumentation Support"
|
menu "Instrumentation Support"
|
||||||
depends on EXPERIMENTAL
|
depends on EXPERIMENTAL
|
||||||
|
|
||||||
source "arch/powerpc/oprofile/Kconfig"
|
source "arch/powerpc/oprofile/Kconfig"
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
menu "Platform support"
|
menu "Platform support"
|
||||||
depends on PPC64 || CLASSIC32 || PPC_8xx || PPC_82xx || PPC_83xx || \
|
|
||||||
PPC_85xx || PPC_86xx
|
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "Machine type"
|
prompt "Machine type"
|
||||||
|
@ -27,14 +25,6 @@ config APUS
|
||||||
<http://linux-apus.sourceforge.net/>.
|
<http://linux-apus.sourceforge.net/>.
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
config QUICC_ENGINE
|
|
||||||
bool
|
|
||||||
help
|
|
||||||
The QUICC Engine (QE) is a new generation of communications
|
|
||||||
coprocessors on Freescale embedded CPUs (akin to CPM in older chips).
|
|
||||||
Selecting this option means that you wish to build a kernel
|
|
||||||
for a machine with a QE coprocessor.
|
|
||||||
|
|
||||||
source "arch/powerpc/platforms/pseries/Kconfig"
|
source "arch/powerpc/platforms/pseries/Kconfig"
|
||||||
source "arch/powerpc/platforms/iseries/Kconfig"
|
source "arch/powerpc/platforms/iseries/Kconfig"
|
||||||
source "arch/powerpc/platforms/chrp/Kconfig"
|
source "arch/powerpc/platforms/chrp/Kconfig"
|
||||||
|
@ -43,14 +33,16 @@ source "arch/powerpc/platforms/powermac/Kconfig"
|
||||||
source "arch/powerpc/platforms/prep/Kconfig"
|
source "arch/powerpc/platforms/prep/Kconfig"
|
||||||
source "arch/powerpc/platforms/maple/Kconfig"
|
source "arch/powerpc/platforms/maple/Kconfig"
|
||||||
source "arch/powerpc/platforms/pasemi/Kconfig"
|
source "arch/powerpc/platforms/pasemi/Kconfig"
|
||||||
source arch/powerpc/platforms/celleb/Kconfig
|
source "arch/powerpc/platforms/celleb/Kconfig"
|
||||||
source arch/powerpc/platforms/ps3/Kconfig
|
source "arch/powerpc/platforms/ps3/Kconfig"
|
||||||
source arch/powerpc/platforms/cell/Kconfig
|
source "arch/powerpc/platforms/cell/Kconfig"
|
||||||
source "arch/powerpc/platforms/8xx/Kconfig"
|
source "arch/powerpc/platforms/8xx/Kconfig"
|
||||||
source "arch/powerpc/platforms/82xx/Kconfig"
|
source "arch/powerpc/platforms/82xx/Kconfig"
|
||||||
source "arch/powerpc/platforms/83xx/Kconfig"
|
source "arch/powerpc/platforms/83xx/Kconfig"
|
||||||
source "arch/powerpc/platforms/85xx/Kconfig"
|
source "arch/powerpc/platforms/85xx/Kconfig"
|
||||||
source "arch/powerpc/platforms/86xx/Kconfig"
|
source "arch/powerpc/platforms/86xx/Kconfig"
|
||||||
|
source "arch/powerpc/platforms/embedded6xx/Kconfig"
|
||||||
|
#source "arch/powerpc/platforms/4xx/Kconfig
|
||||||
|
|
||||||
config PPC_NATIVE
|
config PPC_NATIVE
|
||||||
bool
|
bool
|
||||||
|
@ -75,6 +67,18 @@ config XICS
|
||||||
bool
|
bool
|
||||||
default y
|
default y
|
||||||
|
|
||||||
|
config MPIC
|
||||||
|
bool
|
||||||
|
default n
|
||||||
|
|
||||||
|
config MPIC_WEIRD
|
||||||
|
bool
|
||||||
|
default n
|
||||||
|
|
||||||
|
config PPC_I8259
|
||||||
|
bool
|
||||||
|
default n
|
||||||
|
|
||||||
config U3_DART
|
config U3_DART
|
||||||
bool
|
bool
|
||||||
depends on PPC_MULTIPLATFORM && PPC64
|
depends on PPC_MULTIPLATFORM && PPC64
|
||||||
|
@ -225,6 +229,14 @@ config TAU_AVERAGE
|
||||||
|
|
||||||
If in doubt, say N here.
|
If in doubt, say N here.
|
||||||
|
|
||||||
|
config QUICC_ENGINE
|
||||||
|
bool
|
||||||
|
help
|
||||||
|
The QUICC Engine (QE) is a new generation of communications
|
||||||
|
coprocessors on Freescale embedded CPUs (akin to CPM in older chips).
|
||||||
|
Selecting this option means that you wish to build a kernel
|
||||||
|
for a machine with a QE coprocessor.
|
||||||
|
|
||||||
config CPM2
|
config CPM2
|
||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
|
|
Loading…
Reference in New Issue