if ARCH_DAVINCI

choice
	prompt "DaVinci board select"
	optional

config TARGET_IPAM390
	bool "IPAM390 board"
	select MACH_DAVINCI_DA850_EVM
	select SOC_DA850
	select SUPPORT_SPL

config TARGET_DA850EVM
	bool "DA850 EVM board"
	select MACH_DAVINCI_DA850_EVM
	select SOC_DA850
	select SUPPORT_SPL

config TARGET_EA20
	bool "EA20 board"
	select MACH_DAVINCI_DA850_EVM
	select SOC_DA850
	select BOARD_LATE_INIT

config TARGET_OMAPL138_LCDK
	bool "OMAPL138 LCDK"
	select SOC_DA8XX
	select SUPPORT_SPL

config TARGET_CALIMAIN
	bool "Calimain board"
	select SOC_DA850

config TARGET_LEGOEV3
	bool "LEGO MINDSTORMS EV3"
	select MACH_DAVINCI_DA850_EVM
	select SOC_DA850

endchoice

config SYS_SOC
	default "davinci"

config DA850_LOWLEVEL
	bool "Enable Lowlevel DA850 initialization"
	depends on SOC_DA850

config SYS_DA850_PLL_INIT
	bool

config SYS_DA850_DDR_INIT
	bool

config SOC_DA850
	bool
	select SOC_DA8XX
	select SYS_DA850_DDR_INIT if SUPPORT_SPL || DA850_LOWLEVEL

config SOC_DA8XX
	bool
	select SYS_DA850_PLL_INIT if SUPPORT_SPL || DA850_LOWLEVEL

config MACH_DAVINCI_DA850_EVM
	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
