[POWERPC] 85xx: rework platform Kconfig

* Allow multiple boards to be selected in a single build
* Removed Kconfig option '85xx' which existed only for compat with arch/ppc
* Added a multiplatform 85xx defconfig (mpc85xx_defconfig). This builds
  all 85xx boards except sbc8560 and stx_gp3 since these to boards have
  board specific ifdef in driver code that may break all other boards

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
This commit is contained in:
Kumar Gala 2008-01-28 10:24:30 -06:00
parent b9d3f25914
commit 3a83156bd8
4 changed files with 1536 additions and 27 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,14 @@
choice menuconfig MPC85xx
prompt "Machine Type" bool "Machine Type"
depends on PPC_85xx depends on PPC_85xx
default MPC8540_ADS select PPC_UDBG_16550
select PPC_INDIRECT_PCI if PCI
select MPIC
select FSL_PCI if PCI
select SERIAL_8250_SHARE_IRQ if SERIAL_8250
default y
if MPC85xx
config MPC8540_ADS config MPC8540_ADS
bool "Freescale MPC8540 ADS" bool "Freescale MPC8540 ADS"
@ -96,24 +103,7 @@ config SBC8560
help help
This option enables support for the Wind River SBC8560 board This option enables support for the Wind River SBC8560 board
endchoice endif # MPC85xx
config TQM85xx config TQM85xx
bool bool
select MPC85xx
config MPC8540
bool
select PPC_UDBG_16550
select PPC_INDIRECT_PCI
default y if MPC8540_ADS || MPC85xx_CDS || SBC8548
config MPC85xx
bool
select PPC_UDBG_16550
select PPC_INDIRECT_PCI if PCI
select MPIC
select FSL_PCI if PCI
select SERIAL_8250_SHARE_IRQ if SERIAL_8250
default y if MPC8540_ADS || MPC85xx_CDS || MPC8560_ADS \
|| MPC85xx_MDS || MPC85xx_DS || STX_GP3 || SBC8560 || SBC8548

View File

@ -29,8 +29,8 @@ config PPC_85xx
bool "Freescale 85xx" bool "Freescale 85xx"
select E500 select E500
select FSL_SOC select FSL_SOC
select 85xx
select WANT_DEVICE_TREE select WANT_DEVICE_TREE
select MPC85xx
config PPC_8xx config PPC_8xx
bool "Freescale 8xx" bool "Freescale 8xx"
@ -97,10 +97,6 @@ config 8xx
config 83xx config 83xx
bool bool
# this is temp to handle compat with arch=ppc
config 85xx
bool
config E500 config E500
bool bool

View File

@ -2301,7 +2301,7 @@ config GELIC_NET
config GIANFAR config GIANFAR
tristate "Gianfar Ethernet" tristate "Gianfar Ethernet"
depends on 85xx || 83xx || PPC_86xx depends on FSL_SOC
select PHYLIB select PHYLIB
select CRC32 select CRC32
help help