[POWERPC] Convert 82xx platform to unified platform Kconfig
Moved 82xx platform Kconfig over to being sourced by the unified arch/powerpc/platforms/Kconfig. Also, cleaned up whitespace issues in 82xx Kconfig. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
This commit is contained in:
Родитель
b5a4834692
Коммит
d6071f881f
|
@ -377,7 +377,6 @@ source "arch/powerpc/platforms/Kconfig"
|
||||||
|
|
||||||
source arch/powerpc/platforms/embedded6xx/Kconfig
|
source arch/powerpc/platforms/embedded6xx/Kconfig
|
||||||
source arch/powerpc/platforms/4xx/Kconfig
|
source arch/powerpc/platforms/4xx/Kconfig
|
||||||
source arch/powerpc/platforms/82xx/Kconfig
|
|
||||||
source arch/powerpc/platforms/85xx/Kconfig
|
source arch/powerpc/platforms/85xx/Kconfig
|
||||||
source arch/powerpc/platforms/8xx/Kconfig
|
source arch/powerpc/platforms/8xx/Kconfig
|
||||||
|
|
||||||
|
|
|
@ -1,56 +1,36 @@
|
||||||
menu "Platform support"
|
|
||||||
depends on PPC_82xx
|
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "Machine Type"
|
prompt "Machine Type"
|
||||||
default MPC82xx_ADS
|
depends on PPC_82xx
|
||||||
|
default MPC82xx_ADS
|
||||||
|
|
||||||
config MPC82xx_ADS
|
config MPC82xx_ADS
|
||||||
bool "Freescale MPC82xx ADS"
|
bool "Freescale MPC82xx ADS"
|
||||||
select DEFAULT_UIMAGE
|
select DEFAULT_UIMAGE
|
||||||
select PQ2ADS
|
select PQ2ADS
|
||||||
select 8272
|
select 8272
|
||||||
select 8260
|
select 8260
|
||||||
select CPM2
|
select FSL_SOC
|
||||||
select FSL_SOC
|
help
|
||||||
help
|
This option enables support for the MPC8272 ADS board
|
||||||
This option enables support for the MPC8272 ADS board
|
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
config PQ2ADS
|
config PQ2ADS
|
||||||
bool
|
bool
|
||||||
depends on ADS8272
|
default n
|
||||||
default y
|
|
||||||
|
|
||||||
config ADS8272
|
|
||||||
bool
|
|
||||||
|
|
||||||
config 8260
|
config 8260
|
||||||
bool "CPM2 Support" if WILLOW
|
bool
|
||||||
depends on 6xx
|
depends on 6xx
|
||||||
default y if PQ2FADS
|
select CPM2
|
||||||
help
|
help
|
||||||
The MPC8260 is a typical embedded CPU made by Motorola. Selecting
|
The MPC8260 is a typical embedded CPU made by Freescale. Selecting
|
||||||
this option means that you wish to build a kernel for a machine with
|
this option means that you wish to build a kernel for a machine with
|
||||||
an 8260 class CPU.
|
an 8260 class CPU.
|
||||||
|
|
||||||
config 8272
|
config 8272
|
||||||
bool
|
bool
|
||||||
depends on 6xx
|
|
||||||
default y if ADS8272
|
|
||||||
select 8260
|
select 8260
|
||||||
help
|
help
|
||||||
The MPC8272 CPM has a different internal dpram setup than other CPM2
|
The MPC8272 CPM has a different internal dpram setup than other CPM2
|
||||||
devices
|
devices
|
||||||
|
|
||||||
config CPM2
|
|
||||||
bool
|
|
||||||
depends on 8260 || MPC8560 || MPC8555
|
|
||||||
default y
|
|
||||||
help
|
|
||||||
The CPM2 (Communications Processor Module) is a coprocessor on
|
|
||||||
embedded CPUs made by Motorola. Selecting this option means that
|
|
||||||
you wish to build a kernel for a machine with a CPM2 coprocessor
|
|
||||||
on it (826x, 827x, 8560).
|
|
||||||
endmenu
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
menu "Platform support"
|
menu "Platform support"
|
||||||
depends on PPC64 || CLASSIC32 || PPC_83xx || PPC_86xx
|
depends on PPC64 || CLASSIC32 || PPC_82xx || PPC_83xx || PPC_86xx
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "Machine type"
|
prompt "Machine type"
|
||||||
|
@ -45,6 +45,7 @@ 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/82xx/Kconfig"
|
||||||
source "arch/powerpc/platforms/83xx/Kconfig"
|
source "arch/powerpc/platforms/83xx/Kconfig"
|
||||||
source "arch/powerpc/platforms/86xx/Kconfig"
|
source "arch/powerpc/platforms/86xx/Kconfig"
|
||||||
|
|
||||||
|
@ -221,4 +222,13 @@ config TAU_AVERAGE
|
||||||
|
|
||||||
If in doubt, say N here.
|
If in doubt, say N here.
|
||||||
|
|
||||||
|
config CPM2
|
||||||
|
bool
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
The CPM2 (Communications Processor Module) is a coprocessor on
|
||||||
|
embedded CPUs made by Freescale. Selecting this option means that
|
||||||
|
you wish to build a kernel for a machine with a CPM2 coprocessor
|
||||||
|
on it (826x, 827x, 8560).
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
Загрузка…
Ссылка в новой задаче