f65573314e
Now that we always take a device tree in arch/powerpc, there's no good reason not to allow a single kernel to support multiple embedded 4xx boards - the correct platform code can be selected based on the device tree information. Therefore, this patch re-arranges the 4xx Kconfig code to allow this. In addition we: - use "select" instead of depends to configure the correct config options for specific 4xx CPUs and workarounds, which makes the information about specific boards and CPUs less scattered. - Some old, unused (in arch/powerpc) config options are removed: WANT_EARLY_SERIAL, IBM_OCP, etc. Signed-off-by: David Gibson <dwg@au1.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
209 lines
3.5 KiB
Plaintext
209 lines
3.5 KiB
Plaintext
config 4xx
|
|
bool
|
|
depends on 40x || 44x
|
|
default y
|
|
|
|
config BOOKE
|
|
bool
|
|
depends on 44x
|
|
default y
|
|
|
|
menu "AMCC 40x options"
|
|
depends on 40x
|
|
|
|
#config BUBINGA
|
|
# bool "Bubinga"
|
|
# depends on 40x
|
|
# default n
|
|
# select 405EP
|
|
# help
|
|
# This option enables support for the IBM 405EP evaluation board.
|
|
|
|
#config CPCI405
|
|
# bool "CPCI405"
|
|
# depends on 40x
|
|
# default n
|
|
# select 405GP
|
|
# help
|
|
# This option enables support for the CPCI405 board.
|
|
|
|
#config EP405
|
|
# bool "EP405/EP405PC"
|
|
# depends on 40x
|
|
# default n
|
|
# select 405GP
|
|
# help
|
|
# This option enables support for the EP405/EP405PC boards.
|
|
|
|
#config EP405PC
|
|
# bool "EP405PC Support"
|
|
# depends on EP405
|
|
# default y
|
|
# help
|
|
# This option enables support for the extra features of the EP405PC board.
|
|
|
|
#config REDWOOD_5
|
|
# bool "Redwood-5"
|
|
# depends on 40x
|
|
# default n
|
|
# select STB03xxx
|
|
# help
|
|
# This option enables support for the IBM STB04 evaluation board.
|
|
|
|
#config REDWOOD_6
|
|
# bool "Redwood-6"
|
|
# depends on 40x
|
|
# default n
|
|
# select STB03xxx
|
|
# help
|
|
# This option enables support for the IBM STBx25xx evaluation board.
|
|
|
|
#config SYCAMORE
|
|
# bool "Sycamore"
|
|
# depends on 40x
|
|
# default n
|
|
# select 405GPR
|
|
# help
|
|
# This option enables support for the IBM PPC405GPr evaluation board.
|
|
|
|
#config WALNUT
|
|
# bool "Walnut"
|
|
# depends on 40x
|
|
# default y
|
|
# select 405GP
|
|
# help
|
|
# This option enables support for the IBM PPC405GP evaluation board.
|
|
|
|
#config XILINX_ML300
|
|
# bool "Xilinx-ML300"
|
|
# depends on 40x
|
|
# default y
|
|
# select VIRTEX_II_PRO
|
|
# help
|
|
# This option enables support for the Xilinx ML300 evaluation board.
|
|
|
|
endmenu
|
|
|
|
# 40x specific CPU modules, selected based on the board above.
|
|
config NP405H
|
|
bool
|
|
#depends on ASH
|
|
|
|
# OAK doesn't exist but wanted to keep this around for any future 403GCX boards
|
|
config 403GCX
|
|
bool
|
|
#depends on OAK
|
|
select IBM405_ERR51
|
|
|
|
config 405GP
|
|
bool
|
|
select IBM405_ERR77
|
|
select IBM405_ERR51
|
|
|
|
config 405EP
|
|
bool
|
|
|
|
config 405GPR
|
|
bool
|
|
|
|
config VIRTEX_II_PRO
|
|
bool
|
|
select IBM405_ERR77
|
|
select IBM405_ERR51
|
|
|
|
config STB03xxx
|
|
bool
|
|
select IBM405_ERR77
|
|
select IBM405_ERR51
|
|
|
|
# 40x errata/workaround config symbols, selected by the CPU models above
|
|
|
|
# All 405-based cores up until the 405GPR and 405EP have this errata.
|
|
config IBM405_ERR77
|
|
bool
|
|
|
|
# All 40x-based cores, up until the 405GPR and 405EP have this errata.
|
|
config IBM405_ERR51
|
|
bool
|
|
|
|
menu "AMCC 44x options"
|
|
depends on 44x
|
|
|
|
#config BAMBOO
|
|
# bool "Bamboo"
|
|
# depends on 44x
|
|
# default n
|
|
# select 440EP
|
|
# help
|
|
# This option enables support for the IBM PPC440EP evaluation board.
|
|
|
|
config EBONY
|
|
bool "Ebony"
|
|
depends on 44x
|
|
default y
|
|
select 440GP
|
|
help
|
|
This option enables support for the IBM PPC440GP evaluation board.
|
|
|
|
#config LUAN
|
|
# bool "Luan"
|
|
# depends on 44x
|
|
# default n
|
|
# select 440SP
|
|
# help
|
|
# This option enables support for the IBM PPC440SP evaluation board.
|
|
|
|
#config OCOTEA
|
|
# bool "Ocotea"
|
|
# depends on 44x
|
|
# default n
|
|
# select 440GX
|
|
# help
|
|
# This option enables support for the IBM PPC440GX evaluation board.
|
|
|
|
endmenu
|
|
|
|
# 44x specific CPU modules, selected based on the board above.
|
|
config 440EP
|
|
bool
|
|
select PPC_FPU
|
|
select IBM440EP_ERR42
|
|
|
|
config 440GP
|
|
bool
|
|
select IBM_NEW_EMAC_ZMII
|
|
|
|
config 440GX
|
|
bool
|
|
|
|
config 440SP
|
|
bool
|
|
|
|
config 440A
|
|
bool
|
|
depends on 440GX
|
|
default y
|
|
|
|
# 44x errata/workaround config symbols, selected by the CPU models above
|
|
config IBM440EP_ERR42
|
|
bool
|
|
|
|
#config XILINX_OCP
|
|
# bool
|
|
# depends on XILINX_ML300
|
|
# default y
|
|
|
|
#config BIOS_FIXUP
|
|
# bool
|
|
# depends on BUBINGA || EP405 || SYCAMORE || WALNUT
|
|
# default y
|
|
|
|
#config PPC4xx_DMA
|
|
# bool "PPC4xx DMA controller support"
|
|
# depends on 4xx
|
|
|
|
#config PPC4xx_EDMA
|
|
# bool
|
|
# depends on !STB03xxx && PPC4xx_DMA
|
|
# default y
|