mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-17 02:08:38 +00:00
891ab74b1f
Commit6aa4ad8e38
("Convert CONFIG_SOC_DA8XX et al to Kconfig") converted SOC_DA8XX to Kconfig but missed enabling DDR_INIT for SOC_DA8XX, which broke OMAPL138 to boot. Commit2e87980580
("davinci: Fix omapl138_lcdk builds") disabled DDR_INIT for all DA850 SoCs. This failed all DA850 boards to boot as ddr is not being initialized. Enable SYS_DA850_DDR_INIT for DA8XX so that all DA850 and OMAPL138 will have ddr initialized Fixes:2e87980580
("davinci: Fix omapl138_lcdk builds") Fixes:6aa4ad8e38
("Convert CONFIG_SOC_DA8XX et al to Kconfig") Reported-by: Sekhar Nori <nsekhar@ti.com> Tested-by: Sekhar Nori <nsekhar@ti.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Reviewed-by: David Lechner <david@lechnology.com> Reviewed-by: Tom Rini <trini@konsulko.com>
159 lines
3 KiB
Text
159 lines
3 KiB
Text
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
|
|
|
|
config SOC_DA8XX
|
|
bool
|
|
select SYS_DA850_PLL_INIT if SUPPORT_SPL || DA850_LOWLEVEL
|
|
select SYS_DA850_DDR_INIT if SUPPORT_SPL || DA850_LOWLEVEL
|
|
|
|
config MACH_DAVINCI_DA850_EVM
|
|
bool
|
|
|
|
if SYS_DA850_PLL_INIT
|
|
comment "DA850 PLL Initialization Parameters"
|
|
|
|
config SYS_DV_CLKMODE
|
|
int "PLLCTL Clock Mode"
|
|
default 0
|
|
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
|
|
help
|
|
Value written to PLLC0 PLL Post-Divider Control Register
|
|
|
|
config SYS_DA850_PLL0_PLLDIV1
|
|
hex "PLLC0 Divider 1"
|
|
default 0x8000
|
|
help
|
|
Value written to PLLC0 Divider 1 register
|
|
|
|
config SYS_DA850_PLL0_PLLDIV2
|
|
hex "PLLC0 Divider 2"
|
|
default 0x8001
|
|
help
|
|
Value written to PLLC0 Divider 2 register
|
|
|
|
config SYS_DA850_PLL0_PLLDIV3
|
|
hex "PLLC0 Divider 3"
|
|
default 0x8002
|
|
help
|
|
Value written to PLLC0 Divider 3 register
|
|
|
|
config SYS_DA850_PLL0_PLLDIV4
|
|
hex "PLLC0 Divider 4"
|
|
default 0x8003
|
|
help
|
|
Value written to PLLC0 Divider 4 register
|
|
|
|
config SYS_DA850_PLL0_PLLDIV5
|
|
hex "PLLC0 Divider 5"
|
|
default 0x8002
|
|
help
|
|
Value written to PLLC0 Divider 5 register
|
|
|
|
config SYS_DA850_PLL0_PLLDIV6
|
|
hex "PLLC0 Divider 6"
|
|
default 0x8000
|
|
help
|
|
Value written to PLLC0 Divider 6 register
|
|
|
|
config SYS_DA850_PLL0_PLLDIV7
|
|
hex "PLLC0 Divider 7"
|
|
default 0x8005
|
|
help
|
|
Value written to PLLC0 Divider 7 register
|
|
|
|
config SYS_DA850_PLL1_POSTDIV
|
|
hex "PLLC1 PLL Post-Divider"
|
|
default 1
|
|
help
|
|
Value written to PLLC1 PLL Post-Divider Control Register
|
|
|
|
config SYS_DA850_PLL1_PLLDIV1
|
|
hex "PLLC1 Divider 2"
|
|
default 0x8000
|
|
help
|
|
Value written to PLLC1 Divider 1 register
|
|
|
|
config SYS_DA850_PLL1_PLLDIV2
|
|
hex "PLLC1 Divider 2"
|
|
default 0x8001
|
|
help
|
|
Value written to PLLC1 Divider 2 register
|
|
|
|
config SYS_DA850_PLL1_PLLDIV3
|
|
hex "PLLC1 Divider 3"
|
|
default 0x8002
|
|
help
|
|
Value written to PLLC1 Divider 3 register
|
|
|
|
endif
|
|
|
|
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
|