Commit a5d67547 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini

Convert CONFIG_BOARD_EARLY_INIT_F to Kconfig

This converts the following to Kconfig:
   CONFIG_BOARD_EARLY_INIT_F
Signed-off-by: 's avatarSimon Glass <sjg@chromium.org>
parent a421192f
...@@ -201,6 +201,7 @@ config ARCH_DAVINCI ...@@ -201,6 +201,7 @@ config ARCH_DAVINCI
config KIRKWOOD config KIRKWOOD
bool "Marvell Kirkwood" bool "Marvell Kirkwood"
select CPU_ARM926EJS select CPU_ARM926EJS
select BOARD_EARLY_INIT_F
config ARCH_MVEBU config ARCH_MVEBU
bool "Marvell MVEBU family (Armada XP/375/38x/3700/7K/8K)" bool "Marvell MVEBU family (Armada XP/375/38x/3700/7K/8K)"
...@@ -226,6 +227,7 @@ config TARGET_MX25PDK ...@@ -226,6 +227,7 @@ config TARGET_MX25PDK
bool "Support mx25pdk" bool "Support mx25pdk"
select BOARD_LATE_INIT select BOARD_LATE_INIT
select CPU_ARM926EJS select CPU_ARM926EJS
select BOARD_EARLY_INIT_F
config TARGET_ZMX25 config TARGET_ZMX25
bool "Support zmx25" bool "Support zmx25"
...@@ -256,16 +258,19 @@ config TARGET_MX23EVK ...@@ -256,16 +258,19 @@ config TARGET_MX23EVK
bool "Support mx23evk" bool "Support mx23evk"
select CPU_ARM926EJS select CPU_ARM926EJS
select SUPPORT_SPL select SUPPORT_SPL
select BOARD_EARLY_INIT_F
config TARGET_MX28EVK config TARGET_MX28EVK
bool "Support mx28evk" bool "Support mx28evk"
select CPU_ARM926EJS select CPU_ARM926EJS
select SUPPORT_SPL select SUPPORT_SPL
select BOARD_EARLY_INIT_F
config TARGET_MX23_OLINUXINO config TARGET_MX23_OLINUXINO
bool "Support mx23_olinuxino" bool "Support mx23_olinuxino"
select CPU_ARM926EJS select CPU_ARM926EJS
select SUPPORT_SPL select SUPPORT_SPL
select BOARD_EARLY_INIT_F
config TARGET_BG0900 config TARGET_BG0900
bool "Support bg0900" bool "Support bg0900"
...@@ -289,18 +294,22 @@ config ORION5X ...@@ -289,18 +294,22 @@ config ORION5X
config TARGET_SPEAR300 config TARGET_SPEAR300
bool "Support spear300" bool "Support spear300"
select CPU_ARM926EJS select CPU_ARM926EJS
select BOARD_EARLY_INIT_F
config TARGET_SPEAR310 config TARGET_SPEAR310
bool "Support spear310" bool "Support spear310"
select CPU_ARM926EJS select CPU_ARM926EJS
select BOARD_EARLY_INIT_F
config TARGET_SPEAR320 config TARGET_SPEAR320
bool "Support spear320" bool "Support spear320"
select CPU_ARM926EJS select CPU_ARM926EJS
select BOARD_EARLY_INIT_F
config TARGET_SPEAR600 config TARGET_SPEAR600
bool "Support spear600" bool "Support spear600"
select CPU_ARM926EJS select CPU_ARM926EJS
select BOARD_EARLY_INIT_F
config TARGET_STV0991 config TARGET_STV0991
bool "Support stv0991" bool "Support stv0991"
...@@ -320,21 +329,25 @@ config TARGET_X600 ...@@ -320,21 +329,25 @@ config TARGET_X600
config TARGET_IMX31_PHYCORE config TARGET_IMX31_PHYCORE
bool "Support imx31_phycore_eet" bool "Support imx31_phycore_eet"
select CPU_ARM1136 select CPU_ARM1136
select BOARD_EARLY_INIT_F
config TARGET_IMX31_PHYCORE_EET config TARGET_IMX31_PHYCORE_EET
bool "Support imx31_phycore_eet" bool "Support imx31_phycore_eet"
select BOARD_LATE_INIT select BOARD_LATE_INIT
select CPU_ARM1136 select CPU_ARM1136
select BOARD_EARLY_INIT_F
config TARGET_MX31ADS config TARGET_MX31ADS
bool "Support mx31ads" bool "Support mx31ads"
select CPU_ARM1136 select CPU_ARM1136
select BOARD_EARLY_INIT_F
config TARGET_MX31PDK config TARGET_MX31PDK
bool "Support mx31pdk" bool "Support mx31pdk"
select BOARD_LATE_INIT select BOARD_LATE_INIT
select CPU_ARM1136 select CPU_ARM1136
select SUPPORT_SPL select SUPPORT_SPL
select BOARD_EARLY_INIT_F
config TARGET_WOODBURN config TARGET_WOODBURN
bool "Support woodburn" bool "Support woodburn"
...@@ -503,6 +516,7 @@ config ARCH_MX7 ...@@ -503,6 +516,7 @@ config ARCH_MX7
select SYS_FSL_HAS_SEC if SECURE_BOOT select SYS_FSL_HAS_SEC if SECURE_BOOT
select SYS_FSL_SEC_COMPAT_4 select SYS_FSL_SEC_COMPAT_4
select SYS_FSL_SEC_LE select SYS_FSL_SEC_LE
select BOARD_EARLY_INIT_F
config ARCH_MX6 config ARCH_MX6
bool "Freescale MX6" bool "Freescale MX6"
...@@ -514,34 +528,41 @@ config ARCH_MX6 ...@@ -514,34 +528,41 @@ config ARCH_MX6
config ARCH_MX5 config ARCH_MX5
bool "Freescale MX5" bool "Freescale MX5"
select CPU_V7 select CPU_V7
select BOARD_EARLY_INIT_F
config TARGET_M53EVK config TARGET_M53EVK
bool "Support m53evk" bool "Support m53evk"
select CPU_V7 select CPU_V7
select SUPPORT_SPL select SUPPORT_SPL
select BOARD_EARLY_INIT_F
config TARGET_MX51EVK config TARGET_MX51EVK
bool "Support mx51evk" bool "Support mx51evk"
select BOARD_LATE_INIT select BOARD_LATE_INIT
select CPU_V7 select CPU_V7
select BOARD_EARLY_INIT_F
config TARGET_MX53ARD config TARGET_MX53ARD
bool "Support mx53ard" bool "Support mx53ard"
select CPU_V7 select CPU_V7
select BOARD_EARLY_INIT_F
config TARGET_MX53EVK config TARGET_MX53EVK
bool "Support mx53evk" bool "Support mx53evk"
select BOARD_LATE_INIT select BOARD_LATE_INIT
select CPU_V7 select CPU_V7
select BOARD_EARLY_INIT_F
config TARGET_MX53LOCO config TARGET_MX53LOCO
bool "Support mx53loco" bool "Support mx53loco"
select BOARD_LATE_INIT select BOARD_LATE_INIT
select CPU_V7 select CPU_V7
select BOARD_EARLY_INIT_F
config TARGET_MX53SMD config TARGET_MX53SMD
bool "Support mx53smd" bool "Support mx53smd"
select CPU_V7 select CPU_V7
select BOARD_EARLY_INIT_F
config OMAP34XX config OMAP34XX
bool "OMAP34XX SoC" bool "OMAP34XX SoC"
...@@ -581,6 +602,7 @@ config ARCH_RMOBILE ...@@ -581,6 +602,7 @@ config ARCH_RMOBILE
bool "Renesas ARM SoCs" bool "Renesas ARM SoCs"
select DM select DM
select DM_SERIAL select DM_SERIAL
select BOARD_EARLY_INIT_F
config TARGET_S32V234EVB config TARGET_S32V234EVB
bool "Support s32v234evb" bool "Support s32v234evb"
...@@ -829,6 +851,7 @@ config TARGET_LS1021AQDS ...@@ -829,6 +851,7 @@ config TARGET_LS1021AQDS
select ARCH_SUPPORT_PSCI select ARCH_SUPPORT_PSCI
select LS1_DEEP_SLEEP select LS1_DEEP_SLEEP
select SYS_FSL_DDR select SYS_FSL_DDR
select BOARD_EARLY_INIT_F
config TARGET_LS1021ATWR config TARGET_LS1021ATWR
bool "Support ls1021atwr" bool "Support ls1021atwr"
...@@ -840,6 +863,7 @@ config TARGET_LS1021ATWR ...@@ -840,6 +863,7 @@ config TARGET_LS1021ATWR
select ARCH_LS1021A select ARCH_LS1021A
select ARCH_SUPPORT_PSCI select ARCH_SUPPORT_PSCI
select LS1_DEEP_SLEEP select LS1_DEEP_SLEEP
select BOARD_EARLY_INIT_F
config TARGET_LS1021AIOT config TARGET_LS1021AIOT
bool "Support ls1021aiot" bool "Support ls1021aiot"
...@@ -863,6 +887,7 @@ config TARGET_LS1043AQDS ...@@ -863,6 +887,7 @@ config TARGET_LS1043AQDS
select ARMV8_MULTIENTRY select ARMV8_MULTIENTRY
select BOARD_LATE_INIT select BOARD_LATE_INIT
select SUPPORT_SPL select SUPPORT_SPL
select BOARD_EARLY_INIT_F
help help
Support for Freescale LS1043AQDS platform. Support for Freescale LS1043AQDS platform.
...@@ -873,6 +898,7 @@ config TARGET_LS1043ARDB ...@@ -873,6 +898,7 @@ config TARGET_LS1043ARDB
select ARMV8_MULTIENTRY select ARMV8_MULTIENTRY
select BOARD_LATE_INIT select BOARD_LATE_INIT
select SUPPORT_SPL select SUPPORT_SPL
select BOARD_EARLY_INIT_F
help help
Support for Freescale LS1043ARDB platform. Support for Freescale LS1043ARDB platform.
...@@ -884,6 +910,7 @@ config TARGET_LS1046AQDS ...@@ -884,6 +910,7 @@ config TARGET_LS1046AQDS
select BOARD_LATE_INIT select BOARD_LATE_INIT
select SUPPORT_SPL select SUPPORT_SPL
select DM_SPI_FLASH if DM_SPI select DM_SPI_FLASH if DM_SPI
select BOARD_EARLY_INIT_F
help help
Support for Freescale LS1046AQDS platform. Support for Freescale LS1046AQDS platform.
The LS1046A Development System (QDS) is a high-performance The LS1046A Development System (QDS) is a high-performance
...@@ -899,6 +926,7 @@ config TARGET_LS1046ARDB ...@@ -899,6 +926,7 @@ config TARGET_LS1046ARDB
select SUPPORT_SPL select SUPPORT_SPL
select DM_SPI_FLASH if DM_SPI select DM_SPI_FLASH if DM_SPI
select POWER_MC34VR500 select POWER_MC34VR500
select BOARD_EARLY_INIT_F
help help
Support for Freescale LS1046ARDB platform. Support for Freescale LS1046ARDB platform.
The LS1046A Reference Design Board (RDB) is a high-performance The LS1046A Reference Design Board (RDB) is a high-performance
......
...@@ -162,6 +162,7 @@ config TARGET_MX6QSABREAUTO ...@@ -162,6 +162,7 @@ config TARGET_MX6QSABREAUTO
select BOARD_LATE_INIT select BOARD_LATE_INIT
select DM select DM
select DM_THERMAL select DM_THERMAL
select BOARD_EARLY_INIT_F
config TARGET_MX6SABRESD config TARGET_MX6SABRESD
bool "mx6sabresd" bool "mx6sabresd"
...@@ -169,6 +170,7 @@ config TARGET_MX6SABRESD ...@@ -169,6 +170,7 @@ config TARGET_MX6SABRESD
select SUPPORT_SPL select SUPPORT_SPL
select DM select DM
select DM_THERMAL select DM_THERMAL
select BOARD_EARLY_INIT_F
config TARGET_MX6SLEVK config TARGET_MX6SLEVK
bool "mx6slevk" bool "mx6slevk"
...@@ -187,6 +189,7 @@ config TARGET_MX6SXSABRESD ...@@ -187,6 +189,7 @@ config TARGET_MX6SXSABRESD
select SUPPORT_SPL select SUPPORT_SPL
select DM select DM
select DM_THERMAL select DM_THERMAL
select BOARD_EARLY_INIT_F
config TARGET_MX6SXSABREAUTO config TARGET_MX6SXSABREAUTO
bool "mx6sxsabreauto" bool "mx6sxsabreauto"
...@@ -194,6 +197,7 @@ config TARGET_MX6SXSABREAUTO ...@@ -194,6 +197,7 @@ config TARGET_MX6SXSABREAUTO
select MX6SX select MX6SX
select DM select DM
select DM_THERMAL select DM_THERMAL
select BOARD_EARLY_INIT_F
config TARGET_MX6UL_9X9_EVK config TARGET_MX6UL_9X9_EVK
bool "mx6ul_9x9_evk" bool "mx6ul_9x9_evk"
......
...@@ -6,6 +6,7 @@ config ARCH_LS1012A ...@@ -6,6 +6,7 @@ config ARCH_LS1012A
select SYS_FSL_MMDC select SYS_FSL_MMDC
select SYS_FSL_ERRATUM_A010315 select SYS_FSL_ERRATUM_A010315
select ARCH_EARLY_INIT_R select ARCH_EARLY_INIT_R
select BOARD_EARLY_INIT_F
config ARCH_LS1043A config ARCH_LS1043A
bool bool
...@@ -24,6 +25,7 @@ config ARCH_LS1043A ...@@ -24,6 +25,7 @@ config ARCH_LS1043A
select SYS_FSL_HAS_DDR3 select SYS_FSL_HAS_DDR3
select SYS_FSL_HAS_DDR4 select SYS_FSL_HAS_DDR4
select ARCH_EARLY_INIT_R select ARCH_EARLY_INIT_R
select BOARD_EARLY_INIT_F
config ARCH_LS1046A config ARCH_LS1046A
bool bool
...@@ -41,6 +43,7 @@ config ARCH_LS1046A ...@@ -41,6 +43,7 @@ config ARCH_LS1046A
select SYS_FSL_HAS_DDR4 select SYS_FSL_HAS_DDR4
select SYS_FSL_SRDS_2 select SYS_FSL_SRDS_2
select ARCH_EARLY_INIT_R select ARCH_EARLY_INIT_R
select BOARD_EARLY_INIT_F
config ARCH_LS2080A config ARCH_LS2080A
bool bool
...@@ -66,6 +69,7 @@ config ARCH_LS2080A ...@@ -66,6 +69,7 @@ config ARCH_LS2080A
select SYS_FSL_ERRATUM_A009942 select SYS_FSL_ERRATUM_A009942
select SYS_FSL_ERRATUM_A010165 select SYS_FSL_ERRATUM_A010165
select ARCH_EARLY_INIT_R select ARCH_EARLY_INIT_R
select BOARD_EARLY_INIT_F
config FSL_LSCH2 config FSL_LSCH2
bool bool
......
...@@ -11,6 +11,7 @@ config TARGET_AT91RM9200EK ...@@ -11,6 +11,7 @@ config TARGET_AT91RM9200EK
config TARGET_AT91SAM9260EK config TARGET_AT91SAM9260EK
bool "Atmel at91sam9260 reference board" bool "Atmel at91sam9260 reference board"
select CPU_ARM926EJS select CPU_ARM926EJS
select BOARD_EARLY_INIT_F
config TARGET_ETHERNUT5 config TARGET_ETHERNUT5
bool "Ethernut5 board" bool "Ethernut5 board"
...@@ -43,6 +44,7 @@ config TARGET_PM9261 ...@@ -43,6 +44,7 @@ config TARGET_PM9261
config TARGET_AT91SAM9263EK config TARGET_AT91SAM9263EK
bool "Atmel at91sam9263 reference board" bool "Atmel at91sam9263 reference board"
select CPU_ARM926EJS select CPU_ARM926EJS
select BOARD_EARLY_INIT_F
config TARGET_USB_A9263 config TARGET_USB_A9263
bool "Caloa USB A9260 board" bool "Caloa USB A9260 board"
...@@ -56,6 +58,7 @@ config TARGET_AT91SAM9M10G45EK ...@@ -56,6 +58,7 @@ config TARGET_AT91SAM9M10G45EK
bool "Atmel AT91SAM9M10G45-EK board" bool "Atmel AT91SAM9M10G45-EK board"
select CPU_ARM926EJS select CPU_ARM926EJS
select SUPPORT_SPL select SUPPORT_SPL
select BOARD_EARLY_INIT_F
config TARGET_PM9G45 config TARGET_PM9G45
bool "Ronetix pm9g45 board" bool "Ronetix pm9g45 board"
...@@ -70,46 +73,55 @@ config TARGET_AT91SAM9N12EK ...@@ -70,46 +73,55 @@ config TARGET_AT91SAM9N12EK
bool "Atmel AT91SAM9N12-EK board" bool "Atmel AT91SAM9N12-EK board"
select CPU_ARM926EJS select CPU_ARM926EJS
select SUPPORT_SPL select SUPPORT_SPL
select BOARD_EARLY_INIT_F
config TARGET_AT91SAM9RLEK config TARGET_AT91SAM9RLEK
bool "Atmel at91sam9rl reference board" bool "Atmel at91sam9rl reference board"
select CPU_ARM926EJS select CPU_ARM926EJS
select BOARD_EARLY_INIT_F
config TARGET_AT91SAM9X5EK config TARGET_AT91SAM9X5EK
bool "Atmel AT91SAM9X5-EK board" bool "Atmel AT91SAM9X5-EK board"
select CPU_ARM926EJS select CPU_ARM926EJS
select SUPPORT_SPL select SUPPORT_SPL
select BOARD_EARLY_INIT_F
config TARGET_SAMA5D2_PTC config TARGET_SAMA5D2_PTC
bool "SAMA5D2 PTC board" bool "SAMA5D2 PTC board"
select CPU_V7 select CPU_V7
select SUPPORT_SPL select SUPPORT_SPL
select BOARD_EARLY_INIT_F
config TARGET_SAMA5D2_XPLAINED config TARGET_SAMA5D2_XPLAINED
bool "SAMA5D2 Xplained board" bool "SAMA5D2 Xplained board"
select CPU_V7 select CPU_V7
select SUPPORT_SPL select SUPPORT_SPL
select BOARD_EARLY_INIT_F
config TARGET_SAMA5D3_XPLAINED config TARGET_SAMA5D3_XPLAINED
bool "SAMA5D3 Xplained board" bool "SAMA5D3 Xplained board"
select CPU_V7 select CPU_V7
select SUPPORT_SPL select SUPPORT_SPL
select BOARD_EARLY_INIT_F
config TARGET_SAMA5D3XEK config TARGET_SAMA5D3XEK
bool "SAMA5D3X-EK board" bool "SAMA5D3X-EK board"
select BOARD_LATE_INIT select BOARD_LATE_INIT
select CPU_V7