mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-08 13:53:21 +09:00
![Masahiro Yamada](/assets/img/avatar_default.png)
As mentioned in the previous commit, adding default values in each Kconfig causes problems because it does not co-exist with the "depends on" syntax. (Please note this is not a bug of Kconfig.) We should not do so unless we have a special reason. Actually, for CONFIG_DM*, we have no good reason to do so. Generally, CONFIG_DM is not a user-configurable option. Once we convert a driver into Driver Model, the board only works with Driver Model, i.e. CONFIG_DM must be always enabled for that board. So, using "select DM" is more suitable rather than allowing users to modify it. Another good thing is, Kconfig warns unmet dependencies for "select" syntax, so we easily notice bugs. Actually, CONFIG_DM and other related options have been added without consistency: some into arch/*/Kconfig, some into board/*/Kconfig, and some into configs/*_defconfig. This commit prefers "select" and cleans up the following issues. [1] Never use "CONFIG_DM=n" in defconfig files It is really rare to add "CONFIG_FOO=n" to disable CONFIG options. It is more common to use "# CONFIG_FOO is not set". But here, we do not even have to do it. Less than half of OMAP3 boards have been converted to Driver Model. Adding the default values to arch/arm/cpu/armv7/omap3/Kconfig is weird. Instead, add "select DM" only to appropriate boards, which eventually eliminates "CONFIG_DM=n", etc. [2] Delete redundant CONFIGs Sandbox sets CONFIG_DM in arch/sandbox/Kconfig and defines it again in configs/sandbox_defconfig. Likewise, OMAP3 sets CONFIG_DM arch/arm/cpu/armv7/omap3/Kconfig and defines it also in omap3_beagle_defconfig and devkit8000_defconfig. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
214 lines
4.1 KiB
Plaintext
214 lines
4.1 KiB
Plaintext
menu "ppc4xx CPU"
|
|
depends on 4xx
|
|
|
|
config SYS_CPU
|
|
default "ppc4xx"
|
|
|
|
choice
|
|
prompt "Target select"
|
|
|
|
config TARGET_CSB272
|
|
bool "Support csb272"
|
|
|
|
config TARGET_CSB472
|
|
bool "Support csb472"
|
|
|
|
config TARGET_LWMON5
|
|
bool "Support lwmon5"
|
|
select SUPPORT_SPL
|
|
|
|
config TARGET_PCS440EP
|
|
bool "Support pcs440ep"
|
|
|
|
config TARGET_SBC405
|
|
bool "Support sbc405"
|
|
|
|
config TARGET_SC3
|
|
bool "Support sc3"
|
|
|
|
config TARGET_T3CORP
|
|
bool "Support t3corp"
|
|
|
|
config TARGET_ZEUS
|
|
bool "Support zeus"
|
|
|
|
config TARGET_ACADIA
|
|
bool "Support acadia"
|
|
|
|
config TARGET_BAMBOO
|
|
bool "Support bamboo"
|
|
|
|
config TARGET_BUBINGA
|
|
bool "Support bubinga"
|
|
|
|
config TARGET_CANYONLANDS
|
|
bool "Support canyonlands"
|
|
select DM
|
|
select DM_SERIAL
|
|
|
|
config TARGET_EBONY
|
|
bool "Support ebony"
|
|
|
|
config TARGET_KATMAI
|
|
bool "Support katmai"
|
|
|
|
config TARGET_KILAUEA
|
|
bool "Support kilauea"
|
|
|
|
config TARGET_LUAN
|
|
bool "Support luan"
|
|
|
|
config TARGET_MAKALU
|
|
bool "Support makalu"
|
|
|
|
config TARGET_OCOTEA
|
|
bool "Support ocotea"
|
|
|
|
config TARGET_REDWOOD
|
|
bool "Support redwood"
|
|
|
|
config TARGET_SEQUOIA
|
|
bool "Support sequoia"
|
|
|
|
config TARGET_TAIHU
|
|
bool "Support taihu"
|
|
|
|
config TARGET_TAISHAN
|
|
bool "Support taishan"
|
|
|
|
config TARGET_WALNUT
|
|
bool "Support walnut"
|
|
|
|
config TARGET_YOSEMITE
|
|
bool "Support yosemite"
|
|
|
|
config TARGET_YUCCA
|
|
bool "Support yucca"
|
|
|
|
config TARGET_FX12MM
|
|
bool "Support fx12mm"
|
|
|
|
config TARGET_V5FX30TEVAL
|
|
bool "Support v5fx30teval"
|
|
|
|
config TARGET_CPCI2DP
|
|
bool "Support CPCI2DP"
|
|
|
|
config TARGET_CPCI4052
|
|
bool "Support CPCI4052"
|
|
|
|
config TARGET_PLU405
|
|
bool "Support PLU405"
|
|
|
|
config TARGET_PMC405DE
|
|
bool "Support PMC405DE"
|
|
|
|
config TARGET_PMC440
|
|
bool "Support PMC440"
|
|
|
|
config TARGET_VOM405
|
|
bool "Support VOM405"
|
|
|
|
config TARGET_DLVISION_10G
|
|
bool "Support dlvision-10g"
|
|
|
|
config TARGET_IO
|
|
bool "Support io"
|
|
|
|
config TARGET_IOCON
|
|
bool "Support iocon"
|
|
|
|
config TARGET_NEO
|
|
bool "Support neo"
|
|
|
|
config TARGET_IO64
|
|
bool "Support io64"
|
|
|
|
config TARGET_DLVISION
|
|
bool "Support dlvision"
|
|
|
|
config TARGET_GDPPC440ETX
|
|
bool "Support gdppc440etx"
|
|
|
|
config TARGET_INTIP
|
|
bool "Support intip"
|
|
|
|
config TARGET_ICON
|
|
bool "Support icon"
|
|
|
|
config TARGET_MIP405
|
|
bool "Support MIP405"
|
|
|
|
config TARGET_PIP405
|
|
bool "Support PIP405"
|
|
|
|
config TARGET_ALPR
|
|
bool "Support alpr"
|
|
|
|
config TARGET_P3P440
|
|
bool "Support p3p440"
|
|
|
|
config TARGET_XPEDITE1000
|
|
bool "Support xpedite1000"
|
|
|
|
config TARGET_ML507
|
|
bool "Support ml507"
|
|
|
|
config TARGET_XILINX_PPC405_GENERIC
|
|
bool "Support xilinx-ppc405-generic"
|
|
|
|
config TARGET_XILINX_PPC440_GENERIC
|
|
bool "Support xilinx-ppc440-generic"
|
|
|
|
endchoice
|
|
|
|
source "board/amcc/acadia/Kconfig"
|
|
source "board/amcc/bamboo/Kconfig"
|
|
source "board/amcc/bubinga/Kconfig"
|
|
source "board/amcc/canyonlands/Kconfig"
|
|
source "board/amcc/ebony/Kconfig"
|
|
source "board/amcc/katmai/Kconfig"
|
|
source "board/amcc/kilauea/Kconfig"
|
|
source "board/amcc/luan/Kconfig"
|
|
source "board/amcc/makalu/Kconfig"
|
|
source "board/amcc/ocotea/Kconfig"
|
|
source "board/amcc/redwood/Kconfig"
|
|
source "board/amcc/sequoia/Kconfig"
|
|
source "board/amcc/taihu/Kconfig"
|
|
source "board/amcc/taishan/Kconfig"
|
|
source "board/amcc/walnut/Kconfig"
|
|
source "board/amcc/yosemite/Kconfig"
|
|
source "board/amcc/yucca/Kconfig"
|
|
source "board/avnet/fx12mm/Kconfig"
|
|
source "board/avnet/v5fx30teval/Kconfig"
|
|
source "board/csb272/Kconfig"
|
|
source "board/csb472/Kconfig"
|
|
source "board/esd/cpci2dp/Kconfig"
|
|
source "board/esd/cpci405/Kconfig"
|
|
source "board/esd/plu405/Kconfig"
|
|
source "board/esd/pmc405de/Kconfig"
|
|
source "board/esd/pmc440/Kconfig"
|
|
source "board/esd/vom405/Kconfig"
|
|
source "board/gdsys/405ep/Kconfig"
|
|
source "board/gdsys/405ex/Kconfig"
|
|
source "board/gdsys/dlvision/Kconfig"
|
|
source "board/gdsys/gdppc440etx/Kconfig"
|
|
source "board/gdsys/intip/Kconfig"
|
|
source "board/lwmon5/Kconfig"
|
|
source "board/mosaixtech/icon/Kconfig"
|
|
source "board/mpl/mip405/Kconfig"
|
|
source "board/mpl/pip405/Kconfig"
|
|
source "board/pcs440ep/Kconfig"
|
|
source "board/prodrive/alpr/Kconfig"
|
|
source "board/prodrive/p3p440/Kconfig"
|
|
source "board/sbc405/Kconfig"
|
|
source "board/sc3/Kconfig"
|
|
source "board/t3corp/Kconfig"
|
|
source "board/xes/xpedite1000/Kconfig"
|
|
source "board/xilinx/ml507/Kconfig"
|
|
source "board/xilinx/ppc405-generic/Kconfig"
|
|
source "board/xilinx/ppc440-generic/Kconfig"
|
|
source "board/zeus/Kconfig"
|
|
|
|
endmenu
|