ARM: davinci: Move CONFIG_SYS_DA850_DDR_INIT to Kconfig

Clean config headers by moving CONFIG_SYS_DA850_DDR_INIT away to a
Kconfig file.

Signed-off-by: Fabien Parent <fparent@baylibre.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Fabien Parent 2016-11-29 14:23:37 +01:00 committed by Tom Rini
parent f519b36491
commit b31bf37a38
6 changed files with 7 additions and 5 deletions

View file

@ -8,11 +8,13 @@ config TARGET_IPAM390
bool "IPAM390 board" bool "IPAM390 board"
select SUPPORT_SPL select SUPPORT_SPL
select SYS_DA850_PLL_INIT select SYS_DA850_PLL_INIT
select SYS_DA850_DDR_INIT
config TARGET_DA850EVM config TARGET_DA850EVM
bool "DA850 EVM board" bool "DA850 EVM board"
select SUPPORT_SPL select SUPPORT_SPL
select SYS_DA850_PLL_INIT select SYS_DA850_PLL_INIT
select SYS_DA850_DDR_INIT
config TARGET_EA20 config TARGET_EA20
bool "EA20 board" bool "EA20 board"
@ -24,10 +26,12 @@ config TARGET_OMAPL138_LCDK
config TARGET_CALIMAIN config TARGET_CALIMAIN
bool "Calimain board" bool "Calimain board"
select SYS_DA850_PLL_INIT select SYS_DA850_PLL_INIT
select SYS_DA850_DDR_INIT
config TARGET_LEGOEV3 config TARGET_LEGOEV3
bool "LEGO MINDSTORMS EV3" bool "LEGO MINDSTORMS EV3"
select SYS_DA850_PLL_INIT select SYS_DA850_PLL_INIT
select SYS_DA850_DDR_INIT
endchoice endchoice
@ -37,6 +41,9 @@ config SYS_SOC
config SYS_DA850_PLL_INIT config SYS_DA850_PLL_INIT
bool bool
config SYS_DA850_DDR_INIT
bool
source "board/Barix/ipam390/Kconfig" source "board/Barix/ipam390/Kconfig"
source "board/davinci/da8xxevm/Kconfig" source "board/davinci/da8xxevm/Kconfig"
source "board/davinci/ea20/Kconfig" source "board/davinci/ea20/Kconfig"

View file

@ -32,7 +32,6 @@
#define CONFIG_SYS_HZ_CLOCK clk_get(DAVINCI_AUXCLK_CLKID) #define CONFIG_SYS_HZ_CLOCK clk_get(DAVINCI_AUXCLK_CLKID)
#define CONFIG_SYS_TEXT_BASE 0x60000000 #define CONFIG_SYS_TEXT_BASE 0x60000000
#define CONFIG_DA850_LOWLEVEL #define CONFIG_DA850_LOWLEVEL
#define CONFIG_SYS_DA850_DDR_INIT
#define CONFIG_ARCH_CPU_INIT #define CONFIG_ARCH_CPU_INIT
#define CONFIG_DA8XX_GPIO #define CONFIG_DA8XX_GPIO
#define CONFIG_HW_WATCHDOG #define CONFIG_HW_WATCHDOG

View file

@ -31,7 +31,6 @@
#define CONFIG_SYS_OSCIN_FREQ 24000000 #define CONFIG_SYS_OSCIN_FREQ 24000000
#define CONFIG_SYS_TIMERBASE DAVINCI_TIMER0_BASE #define CONFIG_SYS_TIMERBASE DAVINCI_TIMER0_BASE
#define CONFIG_SYS_HZ_CLOCK clk_get(DAVINCI_AUXCLK_CLKID) #define CONFIG_SYS_HZ_CLOCK clk_get(DAVINCI_AUXCLK_CLKID)
#define CONFIG_SYS_DA850_DDR_INIT
#ifdef CONFIG_DIRECT_NOR_BOOT #ifdef CONFIG_DIRECT_NOR_BOOT
#define CONFIG_ARCH_CPU_INIT #define CONFIG_ARCH_CPU_INIT

View file

@ -32,7 +32,6 @@
#define CONFIG_SYS_OSCIN_FREQ 24000000 #define CONFIG_SYS_OSCIN_FREQ 24000000
#define CONFIG_SYS_TIMERBASE DAVINCI_TIMER0_BASE #define CONFIG_SYS_TIMERBASE DAVINCI_TIMER0_BASE
#define CONFIG_SYS_HZ_CLOCK clk_get(DAVINCI_AUXCLK_CLKID) #define CONFIG_SYS_HZ_CLOCK clk_get(DAVINCI_AUXCLK_CLKID)
#define CONFIG_SYS_DA850_DDR_INIT
#define CONFIG_SYS_TEXT_BASE 0xc1080000 #define CONFIG_SYS_TEXT_BASE 0xc1080000
/* /*

View file

@ -26,7 +26,6 @@
#define CONFIG_SYS_OSCIN_FREQ 24000000 #define CONFIG_SYS_OSCIN_FREQ 24000000
#define CONFIG_SYS_TIMERBASE DAVINCI_TIMER0_BASE #define CONFIG_SYS_TIMERBASE DAVINCI_TIMER0_BASE
#define CONFIG_SYS_HZ_CLOCK clk_get(DAVINCI_AUXCLK_CLKID) #define CONFIG_SYS_HZ_CLOCK clk_get(DAVINCI_AUXCLK_CLKID)
#define CONFIG_SYS_DA850_DDR_INIT
#define CONFIG_SYS_TEXT_BASE 0xc1080000 #define CONFIG_SYS_TEXT_BASE 0xc1080000

View file

@ -4690,7 +4690,6 @@ CONFIG_SYS_DA850_DDR2_SDBCR2
CONFIG_SYS_DA850_DDR2_SDRCR CONFIG_SYS_DA850_DDR2_SDRCR
CONFIG_SYS_DA850_DDR2_SDTIMR CONFIG_SYS_DA850_DDR2_SDTIMR
CONFIG_SYS_DA850_DDR2_SDTIMR2 CONFIG_SYS_DA850_DDR2_SDTIMR2
CONFIG_SYS_DA850_DDR_INIT
CONFIG_SYS_DA850_PLL0_PLLDIV1 CONFIG_SYS_DA850_PLL0_PLLDIV1
CONFIG_SYS_DA850_PLL0_PLLDIV2 CONFIG_SYS_DA850_PLL0_PLLDIV2
CONFIG_SYS_DA850_PLL0_PLLDIV3 CONFIG_SYS_DA850_PLL0_PLLDIV3