2014-08-30 22:11:01 +00:00
|
|
|
if ARCH_DAVINCI
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "DaVinci board select"
|
2015-05-12 19:46:23 +00:00
|
|
|
optional
|
2014-08-30 22:11:01 +00:00
|
|
|
|
|
|
|
config TARGET_IPAM390
|
|
|
|
bool "IPAM390 board"
|
2018-01-11 14:20:27 +00:00
|
|
|
select MACH_DAVINCI_DA850_EVM
|
|
|
|
select SOC_DA850
|
2014-10-20 08:45:56 +00:00
|
|
|
select SUPPORT_SPL
|
2014-08-30 22:11:01 +00:00
|
|
|
|
|
|
|
config TARGET_DA850EVM
|
|
|
|
bool "DA850 EVM board"
|
2018-01-11 14:20:27 +00:00
|
|
|
select MACH_DAVINCI_DA850_EVM
|
|
|
|
select SOC_DA850
|
2014-10-20 08:45:56 +00:00
|
|
|
select SUPPORT_SPL
|
2014-08-30 22:11:01 +00:00
|
|
|
|
|
|
|
config TARGET_EA20
|
|
|
|
bool "EA20 board"
|
2018-01-11 14:20:27 +00:00
|
|
|
select MACH_DAVINCI_DA850_EVM
|
|
|
|
select SOC_DA850
|
2017-01-23 00:43:11 +00:00
|
|
|
select BOARD_LATE_INIT
|
2014-08-30 22:11:01 +00:00
|
|
|
|
2015-08-31 01:18:59 +00:00
|
|
|
config TARGET_OMAPL138_LCDK
|
|
|
|
bool "OMAPL138 LCDK"
|
2018-01-23 10:04:28 +00:00
|
|
|
select SOC_DA850
|
2015-08-31 01:18:59 +00:00
|
|
|
select SUPPORT_SPL
|
2014-08-30 22:11:01 +00:00
|
|
|
|
|
|
|
config TARGET_CALIMAIN
|
|
|
|
bool "Calimain board"
|
2018-01-11 14:20:27 +00:00
|
|
|
select SOC_DA850
|
2014-08-30 22:11:01 +00:00
|
|
|
|
2016-02-26 06:46:07 +00:00
|
|
|
config TARGET_LEGOEV3
|
|
|
|
bool "LEGO MINDSTORMS EV3"
|
2018-01-11 14:20:27 +00:00
|
|
|
select MACH_DAVINCI_DA850_EVM
|
|
|
|
select SOC_DA850
|
2016-02-26 06:46:07 +00:00
|
|
|
|
2014-08-30 22:11:01 +00:00
|
|
|
endchoice
|
|
|
|
|
|
|
|
config SYS_SOC
|
|
|
|
default "davinci"
|
|
|
|
|
2018-01-11 14:20:27 +00:00
|
|
|
config DA850_LOWLEVEL
|
|
|
|
bool "Enable Lowlevel DA850 initialization"
|
|
|
|
depends on SOC_DA850
|
|
|
|
|
2016-11-29 13:23:36 +00:00
|
|
|
config SYS_DA850_PLL_INIT
|
|
|
|
bool
|
|
|
|
|
2016-11-29 13:23:37 +00:00
|
|
|
config SYS_DA850_DDR_INIT
|
|
|
|
bool
|
|
|
|
|
2018-01-11 14:20:27 +00:00
|
|
|
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
|
|
|
|
|
2018-01-23 10:04:28 +00:00
|
|
|
if SYS_DA850_PLL_INIT
|
|
|
|
comment "DA850 PLL Initialization Parameters"
|
|
|
|
|
|
|
|
config SYS_DV_CLKMODE
|
|
|
|
int "PLLCTL Clock Mode"
|
|
|
|
default 0 if SOC_DA850
|
|
|
|
help
|
|
|
|
Set PLLCTL Clock Mode bit as External Clock or On Chip oscillator
|
|
|
|
|
|
|
|
config SYS_DA850_PLL0_POSTDIV
|
|
|
|
int "PLLC0 PLL Post-Divider"
|
|
|
|
default 1 if SOC_DA850
|
|
|
|
help
|
|
|
|
Value written to PLLC0 PLL Post-Divider Control Register
|
|
|
|
|
|
|
|
config SYS_DA850_PLL0_PLLDIV1
|
|
|
|
hex "PLLC0 Divider 1"
|
|
|
|
default 0x8000 if SOC_DA850
|
|
|
|
help
|
|
|
|
Value written to PLLC0 Divider 1 register
|
|
|
|
|
|
|
|
config SYS_DA850_PLL0_PLLDIV2
|
|
|
|
hex "PLLC0 Divider 2"
|
|
|
|
default 0x8001 if SOC_DA850
|
|
|
|
help
|
|
|
|
Value written to PLLC0 Divider 2 register
|
|
|
|
|
|
|
|
config SYS_DA850_PLL0_PLLDIV3
|
|
|
|
hex "PLLC0 Divider 3"
|
|
|
|
default 0x8002 if SOC_DA850
|
|
|
|
help
|
|
|
|
Value written to PLLC0 Divider 3 register
|
|
|
|
|
|
|
|
config SYS_DA850_PLL0_PLLDIV4
|
|
|
|
hex "PLLC0 Divider 4"
|
|
|
|
default 0x8003 if SOC_DA850
|
|
|
|
help
|
|
|
|
Value written to PLLC0 Divider 4 register
|
|
|
|
|
|
|
|
config SYS_DA850_PLL0_PLLDIV5
|
|
|
|
hex "PLLC0 Divider 5"
|
|
|
|
default 0x8002 if SOC_DA850
|
|
|
|
help
|
|
|
|
Value written to PLLC0 Divider 5 register
|
|
|
|
|
|
|
|
config SYS_DA850_PLL0_PLLDIV6
|
|
|
|
hex "PLLC0 Divider 6"
|
|
|
|
default 0x8000 if SOC_DA850
|
|
|
|
help
|
|
|
|
Value written to PLLC0 Divider 6 register
|
|
|
|
|
|
|
|
config SYS_DA850_PLL0_PLLDIV7
|
|
|
|
hex "PLLC0 Divider 7"
|
|
|
|
default 0x8005 if SOC_DA850
|
|
|
|
help
|
|
|
|
Value written to PLLC0 Divider 7 register
|
|
|
|
|
|
|
|
config SYS_DA850_PLL1_POSTDIV
|
|
|
|
hex "PLLC1 PLL Post-Divider"
|
|
|
|
default 1 if SOC_DA850
|
|
|
|
help
|
|
|
|
Value written to PLLC1 PLL Post-Divider Control Register
|
|
|
|
|
|
|
|
config SYS_DA850_PLL1_PLLDIV1
|
|
|
|
hex "PLLC1 Divider 2"
|
|
|
|
default 0x8000 if SOC_DA850
|
|
|
|
help
|
|
|
|
Value written to PLLC1 Divider 1 register
|
|
|
|
|
|
|
|
config SYS_DA850_PLL1_PLLDIV2
|
|
|
|
hex "PLLC1 Divider 2"
|
|
|
|
default 0x8001 if SOC_DA850
|
|
|
|
help
|
|
|
|
Value written to PLLC1 Divider 2 register
|
|
|
|
|
|
|
|
config SYS_DA850_PLL1_PLLDIV3
|
|
|
|
hex "PLLC1 Divider 3"
|
|
|
|
default 0x8002 if SOC_DA850
|
|
|
|
help
|
|
|
|
Value written to PLLC1 Divider 3 register
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2014-08-30 22:11:01 +00:00
|
|
|
source "board/Barix/ipam390/Kconfig"
|
|
|
|
source "board/davinci/da8xxevm/Kconfig"
|
|
|
|
source "board/davinci/ea20/Kconfig"
|
|
|
|
source "board/omicron/calimain/Kconfig"
|
2016-02-26 06:46:07 +00:00
|
|
|
source "board/lego/ev3/Kconfig"
|
2014-08-30 22:11:01 +00:00
|
|
|
|
2017-08-03 21:23:55 +00:00
|
|
|
config SPL_LDSCRIPT
|
|
|
|
default "board/$(BOARDDIR)/u-boot-spl-ipam390.lds" if TARGET_IPAM390
|
|
|
|
default "board/$(BOARDDIR)/u-boot-spl-da850evm.lds"
|
|
|
|
|
2014-08-30 22:11:01 +00:00
|
|
|
endif
|