mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-15 01:17:39 +00:00
b529993e02
With SPL_LDSCRIPT moved to Kconfig (and this being a 'string' config node), all the lingering definitions in header files will cause warnings/errors due to the redefinition of the configuration item. As we don't want to pollute the defconfig files (and values should usually be identical for entire architectures), the defaults are moved into Kconfig. Kconfig will always pick the first default that matches, so please keep these values at the end of each file (to allow any board-specific Kconfig, which will be included earlier) to override with an unconditional default setting. Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by: Simon Glass <sjg@chromium.org>
60 lines
1.1 KiB
Text
60 lines
1.1 KiB
Text
if ARCH_DAVINCI
|
|
|
|
choice
|
|
prompt "DaVinci board select"
|
|
optional
|
|
|
|
config TARGET_IPAM390
|
|
bool "IPAM390 board"
|
|
select SUPPORT_SPL
|
|
select SYS_DA850_PLL_INIT
|
|
select SYS_DA850_DDR_INIT
|
|
|
|
config TARGET_DA850EVM
|
|
bool "DA850 EVM board"
|
|
select SUPPORT_SPL
|
|
select SYS_DA850_PLL_INIT
|
|
select SYS_DA850_DDR_INIT
|
|
|
|
config TARGET_EA20
|
|
bool "EA20 board"
|
|
select BOARD_LATE_INIT
|
|
|
|
config TARGET_OMAPL138_LCDK
|
|
bool "OMAPL138 LCDK"
|
|
select SUPPORT_SPL
|
|
select SYS_DA850_PLL_INIT
|
|
select SYS_DA850_DDR_INIT
|
|
|
|
config TARGET_CALIMAIN
|
|
bool "Calimain board"
|
|
select SYS_DA850_PLL_INIT
|
|
select SYS_DA850_DDR_INIT
|
|
|
|
config TARGET_LEGOEV3
|
|
bool "LEGO MINDSTORMS EV3"
|
|
select SYS_DA850_PLL_INIT
|
|
select SYS_DA850_DDR_INIT
|
|
|
|
endchoice
|
|
|
|
config SYS_SOC
|
|
default "davinci"
|
|
|
|
config SYS_DA850_PLL_INIT
|
|
bool
|
|
|
|
config SYS_DA850_DDR_INIT
|
|
bool
|
|
|
|
source "board/Barix/ipam390/Kconfig"
|
|
source "board/davinci/da8xxevm/Kconfig"
|
|
source "board/davinci/ea20/Kconfig"
|
|
source "board/omicron/calimain/Kconfig"
|
|
source "board/lego/ev3/Kconfig"
|
|
|
|
config SPL_LDSCRIPT
|
|
default "board/$(BOARDDIR)/u-boot-spl-ipam390.lds" if TARGET_IPAM390
|
|
default "board/$(BOARDDIR)/u-boot-spl-da850evm.lds"
|
|
|
|
endif
|