summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-01-23 13:31:20 -0700
committerTom Rini <trini@konsulko.com>2017-01-25 17:38:32 -0500
commita5d67547dd9c7a527dfda1967010e703a22441ff (patch)
tree61fbc8fc661c3b36ae740fe1ed86fbcf08d8d50a /arch
parenta421192fb8d49da9a8bc30258c29c51675a1a1c9 (diff)
downloadu-boot-imx-a5d67547dd9c7a527dfda1967010e703a22441ff.zip
u-boot-imx-a5d67547dd9c7a527dfda1967010e703a22441ff.tar.gz
u-boot-imx-a5d67547dd9c7a527dfda1967010e703a22441ff.tar.bz2
Convert CONFIG_BOARD_EARLY_INIT_F to Kconfig
This converts the following to Kconfig: CONFIG_BOARD_EARLY_INIT_F Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/Kconfig28
-rw-r--r--arch/arm/cpu/armv7/mx6/Kconfig4
-rw-r--r--arch/arm/cpu/armv8/fsl-layerscape/Kconfig4
-rw-r--r--arch/arm/mach-at91/Kconfig12
-rw-r--r--arch/arm/mach-exynos/Kconfig3
-rw-r--r--arch/arm/mach-mvebu/Kconfig1
-rw-r--r--arch/arm/mach-tegra/Kconfig1
-rw-r--r--arch/powerpc/cpu/mpc83xx/Kconfig6
-rw-r--r--arch/powerpc/cpu/mpc85xx/Kconfig2
-rw-r--r--arch/powerpc/cpu/mpc86xx/Kconfig2
10 files changed, 63 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index e2078d6..82cff06 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -201,6 +201,7 @@ config ARCH_DAVINCI
config KIRKWOOD
bool "Marvell Kirkwood"
select CPU_ARM926EJS
+ select BOARD_EARLY_INIT_F
config ARCH_MVEBU
bool "Marvell MVEBU family (Armada XP/375/38x/3700/7K/8K)"
@@ -226,6 +227,7 @@ config TARGET_MX25PDK
bool "Support mx25pdk"
select BOARD_LATE_INIT
select CPU_ARM926EJS
+ select BOARD_EARLY_INIT_F
config TARGET_ZMX25
bool "Support zmx25"
@@ -256,16 +258,19 @@ config TARGET_MX23EVK
bool "Support mx23evk"
select CPU_ARM926EJS
select SUPPORT_SPL
+ select BOARD_EARLY_INIT_F
config TARGET_MX28EVK
bool "Support mx28evk"
select CPU_ARM926EJS
select SUPPORT_SPL
+ select BOARD_EARLY_INIT_F
config TARGET_MX23_OLINUXINO
bool "Support mx23_olinuxino"
select CPU_ARM926EJS
select SUPPORT_SPL
+ select BOARD_EARLY_INIT_F
config TARGET_BG0900
bool "Support bg0900"
@@ -289,18 +294,22 @@ config ORION5X
config TARGET_SPEAR300
bool "Support spear300"
select CPU_ARM926EJS
+ select BOARD_EARLY_INIT_F
config TARGET_SPEAR310
bool "Support spear310"
select CPU_ARM926EJS
+ select BOARD_EARLY_INIT_F
config TARGET_SPEAR320
bool "Support spear320"
select CPU_ARM926EJS
+ select BOARD_EARLY_INIT_F
config TARGET_SPEAR600
bool "Support spear600"
select CPU_ARM926EJS
+ select BOARD_EARLY_INIT_F
config TARGET_STV0991
bool "Support stv0991"
@@ -320,21 +329,25 @@ config TARGET_X600
config TARGET_IMX31_PHYCORE
bool "Support imx31_phycore_eet"
select CPU_ARM1136
+ select BOARD_EARLY_INIT_F
config TARGET_IMX31_PHYCORE_EET
bool "Support imx31_phycore_eet"
select BOARD_LATE_INIT
select CPU_ARM1136
+ select BOARD_EARLY_INIT_F
config TARGET_MX31ADS
bool "Support mx31ads"
select CPU_ARM1136
+ select BOARD_EARLY_INIT_F
config TARGET_MX31PDK
bool "Support mx31pdk"
select BOARD_LATE_INIT
select CPU_ARM1136
select SUPPORT_SPL
+ select BOARD_EARLY_INIT_F
config TARGET_WOODBURN
bool "Support woodburn"
@@ -503,6 +516,7 @@ config ARCH_MX7
select SYS_FSL_HAS_SEC if SECURE_BOOT
select SYS_FSL_SEC_COMPAT_4
select SYS_FSL_SEC_LE
+ select BOARD_EARLY_INIT_F
config ARCH_MX6
bool "Freescale MX6"
@@ -514,34 +528,41 @@ config ARCH_MX6
config ARCH_MX5
bool "Freescale MX5"
select CPU_V7
+ select BOARD_EARLY_INIT_F
config TARGET_M53EVK
bool "Support m53evk"
select CPU_V7
select SUPPORT_SPL
+ select BOARD_EARLY_INIT_F
config TARGET_MX51EVK
bool "Support mx51evk"
select BOARD_LATE_INIT
select CPU_V7
+ select BOARD_EARLY_INIT_F
config TARGET_MX53ARD
bool "Support mx53ard"
select CPU_V7
+ select BOARD_EARLY_INIT_F
config TARGET_MX53EVK
bool "Support mx53evk"
select BOARD_LATE_INIT
select CPU_V7
+ select BOARD_EARLY_INIT_F
config TARGET_MX53LOCO
bool "Support mx53loco"
select BOARD_LATE_INIT
select CPU_V7
+ select BOARD_EARLY_INIT_F
config TARGET_MX53SMD
bool "Support mx53smd"
select CPU_V7
+ select BOARD_EARLY_INIT_F
config OMAP34XX
bool "OMAP34XX SoC"
@@ -581,6 +602,7 @@ config ARCH_RMOBILE
bool "Renesas ARM SoCs"
select DM
select DM_SERIAL
+ select BOARD_EARLY_INIT_F
config TARGET_S32V234EVB
bool "Support s32v234evb"
@@ -829,6 +851,7 @@ config TARGET_LS1021AQDS
select ARCH_SUPPORT_PSCI
select LS1_DEEP_SLEEP
select SYS_FSL_DDR
+ select BOARD_EARLY_INIT_F
config TARGET_LS1021ATWR
bool "Support ls1021atwr"
@@ -840,6 +863,7 @@ config TARGET_LS1021ATWR
select ARCH_LS1021A
select ARCH_SUPPORT_PSCI
select LS1_DEEP_SLEEP
+ select BOARD_EARLY_INIT_F
config TARGET_LS1021AIOT
bool "Support ls1021aiot"
@@ -863,6 +887,7 @@ config TARGET_LS1043AQDS
select ARMV8_MULTIENTRY
select BOARD_LATE_INIT
select SUPPORT_SPL
+ select BOARD_EARLY_INIT_F
help
Support for Freescale LS1043AQDS platform.
@@ -873,6 +898,7 @@ config TARGET_LS1043ARDB
select ARMV8_MULTIENTRY
select BOARD_LATE_INIT
select SUPPORT_SPL
+ select BOARD_EARLY_INIT_F
help
Support for Freescale LS1043ARDB platform.
@@ -884,6 +910,7 @@ config TARGET_LS1046AQDS
select BOARD_LATE_INIT
select SUPPORT_SPL
select DM_SPI_FLASH if DM_SPI
+ select BOARD_EARLY_INIT_F
help
Support for Freescale LS1046AQDS platform.
The LS1046A Development System (QDS) is a high-performance
@@ -899,6 +926,7 @@ config TARGET_LS1046ARDB
select SUPPORT_SPL
select DM_SPI_FLASH if DM_SPI
select POWER_MC34VR500
+ select BOARD_EARLY_INIT_F
help
Support for Freescale LS1046ARDB platform.
The LS1046A Reference Design Board (RDB) is a high-performance
diff --git a/arch/arm/cpu/armv7/mx6/Kconfig b/arch/arm/cpu/armv7/mx6/Kconfig
index b8dc5c8..3b04091 100644
--- a/arch/arm/cpu/armv7/mx6/Kconfig
+++ b/arch/arm/cpu/armv7/mx6/Kconfig
@@ -162,6 +162,7 @@ config TARGET_MX6QSABREAUTO
select BOARD_LATE_INIT
select DM
select DM_THERMAL
+ select BOARD_EARLY_INIT_F
config TARGET_MX6SABRESD
bool "mx6sabresd"
@@ -169,6 +170,7 @@ config TARGET_MX6SABRESD
select SUPPORT_SPL
select DM
select DM_THERMAL
+ select BOARD_EARLY_INIT_F
config TARGET_MX6SLEVK
bool "mx6slevk"
@@ -187,6 +189,7 @@ config TARGET_MX6SXSABRESD
select SUPPORT_SPL
select DM
select DM_THERMAL
+ select BOARD_EARLY_INIT_F
config TARGET_MX6SXSABREAUTO
bool "mx6sxsabreauto"
@@ -194,6 +197,7 @@ config TARGET_MX6SXSABREAUTO
select MX6SX
select DM
select DM_THERMAL
+ select BOARD_EARLY_INIT_F
config TARGET_MX6UL_9X9_EVK
bool "mx6ul_9x9_evk"
diff --git a/arch/arm/cpu/armv8/fsl-layerscape/Kconfig b/arch/arm/cpu/armv8/fsl-layerscape/Kconfig
index d93a61d..47897f4 100644
--- a/arch/arm/cpu/armv8/fsl-layerscape/Kconfig
+++ b/arch/arm/cpu/armv8/fsl-layerscape/Kconfig
@@ -6,6 +6,7 @@ config ARCH_LS1012A
select SYS_FSL_MMDC
select SYS_FSL_ERRATUM_A010315
select ARCH_EARLY_INIT_R
+ select BOARD_EARLY_INIT_F
config ARCH_LS1043A
bool
@@ -24,6 +25,7 @@ config ARCH_LS1043A
select SYS_FSL_HAS_DDR3
select SYS_FSL_HAS_DDR4
select ARCH_EARLY_INIT_R
+ select BOARD_EARLY_INIT_F
config ARCH_LS1046A
bool
@@ -41,6 +43,7 @@ config ARCH_LS1046A
select SYS_FSL_HAS_DDR4
select SYS_FSL_SRDS_2
select ARCH_EARLY_INIT_R
+ select BOARD_EARLY_INIT_F
config ARCH_LS2080A
bool
@@ -66,6 +69,7 @@ config ARCH_LS2080A
select SYS_FSL_ERRATUM_A009942
select SYS_FSL_ERRATUM_A010165
select ARCH_EARLY_INIT_R
+ select BOARD_EARLY_INIT_F
config FSL_LSCH2
bool
diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
index 642936b..99b88d1 100644
--- a/arch/arm/mach-at91/Kconfig
+++ b/arch/arm/mach-at91/Kconfig
@@ -11,6 +11,7 @@ config TARGET_AT91RM9200EK
config TARGET_AT91SAM9260EK
bool "Atmel at91sam9260 reference board"
select CPU_ARM926EJS
+ select BOARD_EARLY_INIT_F
config TARGET_ETHERNUT5
bool "Ethernut5 board"
@@ -43,6 +44,7 @@ config TARGET_PM9261
config TARGET_AT91SAM9263EK
bool "Atmel at91sam9263 reference board"
select CPU_ARM926EJS
+ select BOARD_EARLY_INIT_F
config TARGET_USB_A9263
bool "Caloa USB A9260 board"
@@ -56,6 +58,7 @@ config TARGET_AT91SAM9M10G45EK
bool "Atmel AT91SAM9M10G45-EK board"
select CPU_ARM926EJS
select SUPPORT_SPL
+ select BOARD_EARLY_INIT_F
config TARGET_PM9G45
bool "Ronetix pm9g45 board"
@@ -70,46 +73,55 @@ config TARGET_AT91SAM9N12EK
bool "Atmel AT91SAM9N12-EK board"
select CPU_ARM926EJS
select SUPPORT_SPL
+ select BOARD_EARLY_INIT_F
config TARGET_AT91SAM9RLEK
bool "Atmel at91sam9rl reference board"
select CPU_ARM926EJS
+ select BOARD_EARLY_INIT_F
config TARGET_AT91SAM9X5EK
bool "Atmel AT91SAM9X5-EK board"
select CPU_ARM926EJS
select SUPPORT_SPL
+ select BOARD_EARLY_INIT_F
config TARGET_SAMA5D2_PTC
bool "SAMA5D2 PTC board"
select CPU_V7
select SUPPORT_SPL
+ select BOARD_EARLY_INIT_F
config TARGET_SAMA5D2_XPLAINED
bool "SAMA5D2 Xplained board"
select CPU_V7
select SUPPORT_SPL
+ select BOARD_EARLY_INIT_F
config TARGET_SAMA5D3_XPLAINED
bool "SAMA5D3 Xplained board"
select CPU_V7
select SUPPORT_SPL
+ select BOARD_EARLY_INIT_F
config TARGET_SAMA5D3XEK
bool "SAMA5D3X-EK board"
select BOARD_LATE_INIT
select CPU_V7
select SUPPORT_SPL
+ select BOARD_EARLY_INIT_F
config TARGET_SAMA5D4_XPLAINED
bool "SAMA5D4 Xplained board"
select CPU_V7
select SUPPORT_SPL
+ select BOARD_EARLY_INIT_F
config TARGET_SAMA5D4EK
bool "SAMA5D4 Evaluation Kit"
select CPU_V7
select SUPPORT_SPL
+ select BOARD_EARLY_INIT_F
config TARGET_MA5D4EVK
bool "DENX MA5D4EVK Evaluation Kit"
diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig
index 07118fc..9bd8ba5 100644
--- a/arch/arm/mach-exynos/Kconfig
+++ b/arch/arm/mach-exynos/Kconfig
@@ -7,6 +7,7 @@ choice
config ARCH_EXYNOS4
bool "Exynos4 SoC family"
select CPU_V7
+ select BOARD_EARLY_INIT_F
help
Samsung Exynos4 SoC family are based on ARM Cortex-A9 CPU. There
are multiple SoCs in this family including Exynos4210, Exynos4412,
@@ -15,6 +16,7 @@ config ARCH_EXYNOS4
config ARCH_EXYNOS5
bool "Exynos5 SoC family"
select CPU_V7
+ select BOARD_EARLY_INIT_F
help
Samsung Exynos5 SoC family are based on ARM Cortex-A15 CPU (and
Cortex-A7 CPU in big.LITTLE configuration). There are multiple SoCs
@@ -23,6 +25,7 @@ config ARCH_EXYNOS5
config ARCH_EXYNOS7
bool "Exynos7 SoC family"
select ARM64
+ select BOARD_EARLY_INIT_F
help
Samsung Exynos7 SoC family are based on ARM Cortex-A57 CPU or
Cortex-A53 CPU (and some in a big.LITTLE configuration). There are
diff --git a/arch/arm/mach-mvebu/Kconfig b/arch/arm/mach-mvebu/Kconfig
index f005277..e0232b4 100644
--- a/arch/arm/mach-mvebu/Kconfig
+++ b/arch/arm/mach-mvebu/Kconfig
@@ -8,6 +8,7 @@ config ARMADA_32BIT
select SPL_DM_SEQ_ALIAS
select SPL_OF_CONTROL
select SPL_SIMPLE_BUS
+ select BOARD_EARLY_INIT_F
config ARMADA_64BIT
bool
diff --git a/arch/arm/mach-tegra/Kconfig b/arch/arm/mach-tegra/Kconfig
index 5bdbc70..c9f2380 100644
--- a/arch/arm/mach-tegra/Kconfig
+++ b/arch/arm/mach-tegra/Kconfig
@@ -37,6 +37,7 @@ config TEGRA_COMMON
select MISC
select OF_CONTROL
select VIDCONSOLE_AS_LCD if DM_VIDEO
+ select BOARD_EARLY_INIT_F
config TEGRA_NO_BPMP
bool "Tegra common options for SoCs without BPMP"
diff --git a/arch/powerpc/cpu/mpc83xx/Kconfig b/arch/powerpc/cpu/mpc83xx/Kconfig
index 184063c..bf3be50 100644
--- a/arch/powerpc/cpu/mpc83xx/Kconfig
+++ b/arch/powerpc/cpu/mpc83xx/Kconfig
@@ -27,30 +27,36 @@ config TARGET_MPC8308RDB
config TARGET_MPC8313ERDB
bool "Support MPC8313ERDB"
select SUPPORT_SPL
+ select BOARD_EARLY_INIT_F
config TARGET_MPC8315ERDB
bool "Support MPC8315ERDB"
+ select BOARD_EARLY_INIT_F
config TARGET_MPC8323ERDB
bool "Support MPC8323ERDB"
config TARGET_MPC832XEMDS
bool "Support MPC832XEMDS"
+ select BOARD_EARLY_INIT_F
config TARGET_MPC8349EMDS
bool "Support MPC8349EMDS"
select SYS_FSL_DDR
select SYS_FSL_HAS_DDR2
select SYS_FSL_DDR_BE
+ select BOARD_EARLY_INIT_F
config TARGET_MPC8349ITX
bool "Support MPC8349ITX"
config TARGET_MPC837XEMDS
bool "Support MPC837XEMDS"
+ select BOARD_EARLY_INIT_F
config TARGET_MPC837XERDB
bool "Support MPC837XERDB"
+ select BOARD_EARLY_INIT_F
config TARGET_IDS8313
bool "Support ids8313"
diff --git a/arch/powerpc/cpu/mpc85xx/Kconfig b/arch/powerpc/cpu/mpc85xx/Kconfig
index 00dd3c1..bfa63e4 100644
--- a/arch/powerpc/cpu/mpc85xx/Kconfig
+++ b/arch/powerpc/cpu/mpc85xx/Kconfig
@@ -33,12 +33,14 @@ config TARGET_BSC9131RDB
bool "Support BSC9131RDB"
select ARCH_BSC9131
select SUPPORT_SPL
+ select BOARD_EARLY_INIT_F
config TARGET_BSC9132QDS
bool "Support BSC9132QDS"
select ARCH_BSC9132
select BOARD_LATE_INIT if CHAIN_OF_TRUST
select SUPPORT_SPL
+ select BOARD_EARLY_INIT_F
config TARGET_C29XPCIE
bool "Support C29XPCIE"
diff --git a/arch/powerpc/cpu/mpc86xx/Kconfig b/arch/powerpc/cpu/mpc86xx/Kconfig
index ff21c48..fcac658 100644
--- a/arch/powerpc/cpu/mpc86xx/Kconfig
+++ b/arch/powerpc/cpu/mpc86xx/Kconfig
@@ -11,10 +11,12 @@ choice
config TARGET_SBC8641D
bool "Support sbc8641d"
select ARCH_MPC8641
+ select BOARD_EARLY_INIT_F
config TARGET_MPC8610HPCD
bool "Support MPC8610HPCD"
select ARCH_MPC8610
+ select BOARD_EARLY_INIT_F
config TARGET_MPC8641HPCN
bool "Support MPC8641HPCN"