Commit e5ec4815 authored by Tom Rini's avatar Tom Rini

Kconfig: Migrate BOARD_LATE_INIT to a select

This option should not really be user selectable.  Note that on PowerPC
we currently only need BOARD_LATE_INIT when CHAIN_OF_TRUST is enabled so be
conditional on that.
Signed-off-by: default avatarTom Rini <trini@konsulko.com>
Acked-by: Masahiro Yamada <yamada.masahiro@socionext.com> (for UniPhier)
parent 88077715
......@@ -60,6 +60,7 @@ config PPC
config SANDBOX
bool "Sandbox"
select BOARD_LATE_INIT
select SUPPORT_OF_CONTROL
select DM
select DM_KEYBOARD
......
......@@ -224,10 +224,12 @@ config TARGET_WORK_92105
config TARGET_MX25PDK
bool "Support mx25pdk"
select BOARD_LATE_INIT
select CPU_ARM926EJS
config TARGET_ZMX25
bool "Support zmx25"
select BOARD_LATE_INIT
select CPU_ARM926EJS
config TARGET_APF27
......@@ -311,6 +313,7 @@ config TARGET_STV0991
config TARGET_X600
bool "Support x600"
select BOARD_LATE_INIT
select CPU_ARM926EJS
select SUPPORT_SPL
......@@ -320,6 +323,7 @@ config TARGET_IMX31_PHYCORE
config TARGET_IMX31_PHYCORE_EET
bool "Support imx31_phycore_eet"
select BOARD_LATE_INIT
select CPU_ARM1136
config TARGET_MX31ADS
......@@ -328,6 +332,7 @@ config TARGET_MX31ADS
config TARGET_MX31PDK
bool "Support mx31pdk"
select BOARD_LATE_INIT
select CPU_ARM1136
select SUPPORT_SPL
......@@ -346,6 +351,7 @@ config TARGET_FLEA3
config TARGET_MX35PDK
bool "Support mx35pdk"
select BOARD_LATE_INIT
select CPU_ARM1136
config ARCH_BCM283X
......@@ -372,14 +378,17 @@ config TARGET_VEXPRESS_CA9X4
config TARGET_BRXRE1
bool "Support BRXRE1"
select ARCH_OMAP2
select BOARD_LATE_INIT
config TARGET_BRPPT1
bool "Support BRPPT1"
select ARCH_OMAP2
select BOARD_LATE_INIT
config TARGET_DRACO
bool "Support draco"
select ARCH_OMAP2
select BOARD_LATE_INIT
select DM
select DM_SERIAL
select DM_GPIO
......@@ -387,6 +396,7 @@ config TARGET_DRACO
config TARGET_THUBAN
bool "Support thuban"
select ARCH_OMAP2
select BOARD_LATE_INIT
select DM
select DM_SERIAL
select DM_GPIO
......@@ -394,6 +404,7 @@ config TARGET_THUBAN
config TARGET_RASTABAN
bool "Support rastaban"
select ARCH_OMAP2
select BOARD_LATE_INIT
select DM
select DM_SERIAL
select DM_GPIO
......@@ -401,6 +412,7 @@ config TARGET_RASTABAN
config TARGET_ETAMIN
bool "Support etamin"
select ARCH_OMAP2
select BOARD_LATE_INIT
select DM
select DM_SERIAL
select DM_GPIO
......@@ -408,6 +420,7 @@ config TARGET_ETAMIN
config TARGET_PXM2
bool "Support pxm2"
select ARCH_OMAP2
select BOARD_LATE_INIT
select DM
select DM_SERIAL
select DM_GPIO
......@@ -415,6 +428,7 @@ config TARGET_PXM2
config TARGET_RUT
bool "Support rut"
select ARCH_OMAP2
select BOARD_LATE_INIT
select DM
select DM_SERIAL
select DM_GPIO
......@@ -508,6 +522,7 @@ config TARGET_M53EVK
config TARGET_MX51EVK
bool "Support mx51evk"
select BOARD_LATE_INIT
select CPU_V7
config TARGET_MX53ARD
......@@ -516,10 +531,12 @@ config TARGET_MX53ARD
config TARGET_MX53EVK
bool "Support mx53evk"
select BOARD_LATE_INIT
select CPU_V7
config TARGET_MX53LOCO
bool "Support mx53loco"
select BOARD_LATE_INIT
select CPU_V7
config TARGET_MX53SMD
......@@ -634,6 +651,7 @@ config TARGET_VF610TWR
config TARGET_COLIBRI_VF
bool "Support Colibri VF50/61"
select BOARD_LATE_INIT
select CPU_V7
select SYS_FSL_ERRATUM_ESDHC111
......@@ -653,6 +671,7 @@ config TARGET_BK4R1
config ARCH_ZYNQ
bool "Xilinx Zynq Platform"
select BOARD_LATE_INIT
select CPU_V7
select SUPPORT_SPL
select OF_CONTROL
......@@ -673,6 +692,7 @@ config ARCH_ZYNQ
config ARCH_ZYNQMP
bool "Support Xilinx ZynqMP Platform"
select ARM64
select BOARD_LATE_INIT
select DM
select OF_CONTROL
select DM_SERIAL
......@@ -733,6 +753,7 @@ config TARGET_LS2080AQDS
select ARCH_LS2080A
select ARM64
select ARMV8_MULTIENTRY
select BOARD_LATE_INIT
select SUPPORT_SPL
help
Support for Freescale LS2080AQDS platform
......@@ -745,6 +766,7 @@ config TARGET_LS2080ARDB
select ARCH_LS2080A
select ARM64
select ARMV8_MULTIENTRY
select BOARD_LATE_INIT
select SUPPORT_SPL
help
Support for Freescale LS2080ARDB platform.
......@@ -767,6 +789,7 @@ config TARGET_LS1012AQDS
bool "Support ls1012aqds"
select ARCH_LS1012A
select ARM64
select BOARD_LATE_INIT
help
Support for Freescale LS1012AQDS platform.
The LS1012A Development System (QDS) is a high-performance
......@@ -777,6 +800,7 @@ config TARGET_LS1012ARDB
bool "Support ls1012ardb"
select ARCH_LS1012A
select ARM64
select BOARD_LATE_INIT
help
Support for Freescale LS1012ARDB platform.
The LS1012A Reference design board (RDB) is a high-performance
......@@ -795,6 +819,7 @@ config TARGET_LS1012AFRDM
config TARGET_LS1021AQDS
bool "Support ls1021aqds"
select BOARD_LATE_INIT
select CPU_V7
select CPU_V7_HAS_NONSEC
select CPU_V7_HAS_VIRT
......@@ -806,6 +831,7 @@ config TARGET_LS1021AQDS
config TARGET_LS1021ATWR
bool "Support ls1021atwr"
select BOARD_LATE_INIT
select CPU_V7
select CPU_V7_HAS_NONSEC
select CPU_V7_HAS_VIRT
......@@ -816,6 +842,7 @@ config TARGET_LS1021ATWR
config TARGET_LS1021AIOT
bool "Support ls1021aiot"
select BOARD_LATE_INIT
select CPU_V7
select CPU_V7_HAS_NONSEC
select CPU_V7_HAS_VIRT
......@@ -833,6 +860,7 @@ config TARGET_LS1043AQDS
select ARCH_LS1043A
select ARM64
select ARMV8_MULTIENTRY
select BOARD_LATE_INIT
select SUPPORT_SPL
help
Support for Freescale LS1043AQDS platform.
......@@ -842,6 +870,7 @@ config TARGET_LS1043ARDB
select ARCH_LS1043A
select ARM64
select ARMV8_MULTIENTRY
select BOARD_LATE_INIT
select SUPPORT_SPL
help
Support for Freescale LS1043ARDB platform.
......@@ -851,6 +880,7 @@ config TARGET_LS1046AQDS
select ARCH_LS1046A
select ARM64
select ARMV8_MULTIENTRY
select BOARD_LATE_INIT
select SUPPORT_SPL
select DM_SPI_FLASH if DM_SPI
help
......@@ -864,6 +894,7 @@ config TARGET_LS1046ARDB
select ARCH_LS1046A
select ARM64
select ARMV8_MULTIENTRY
select BOARD_LATE_INIT
select SUPPORT_SPL
select DM_SPI_FLASH if DM_SPI
select POWER_MC34VR500
......@@ -887,6 +918,7 @@ config TARGET_COLIBRI_PXA270
config ARCH_UNIPHIER
bool "Socionext UniPhier SoCs"
select BOARD_LATE_INIT
select CLK_UNIPHIER
select DM
select DM_GPIO
......
......@@ -20,6 +20,7 @@ config TARGET_USBARMORY
config TARGET_MX53CX9020
bool "Support CX9020"
select BOARD_LATE_INIT
select CPU_V7
select MX53
select DM
......
......@@ -53,10 +53,12 @@ choice
config TARGET_ADVANTECH_DMS_BA16
bool "Advantech dms-ba16"
select BOARD_LATE_INIT
select MX6Q
config TARGET_APALIS_IMX6
bool "Toradex Apalis iMX6 board"
select BOARD_LATE_INIT
select SUPPORT_SPL
select DM
select DM_SERIAL
......@@ -67,12 +69,15 @@ config TARGET_ARISTAINETOS
config TARGET_ARISTAINETOS2
bool "aristainetos2"
select BOARD_LATE_INIT
config TARGET_ARISTAINETOS2B
bool "Support aristainetos2-revB"
select BOARD_LATE_INIT
config TARGET_CGTQMX6EVAL
bool "cgtqmx6eval"
select BOARD_LATE_INIT
select SUPPORT_SPL
select DM
select DM_THERMAL
......@@ -86,6 +91,7 @@ config TARGET_CM_FX6
config TARGET_COLIBRI_IMX6
bool "Toradex Colibri iMX6 board"
select BOARD_LATE_INIT
select SUPPORT_SPL
select DM
select DM_SERIAL
......@@ -93,17 +99,21 @@ config TARGET_COLIBRI_IMX6
config TARGET_EMBESTMX6BOARDS
bool "embestmx6boards"
select BOARD_LATE_INIT
config TARGET_GE_B450V3
bool "General Electric B450v3"
select BOARD_LATE_INIT
select MX6Q
config TARGET_GE_B650V3
bool "General Electric B650v3"
select BOARD_LATE_INIT
select MX6Q
config TARGET_GE_B850V3
bool "General Electric B850v3"
select BOARD_LATE_INIT
select MX6Q
config TARGET_GW_VENTANA
......@@ -112,10 +122,12 @@ config TARGET_GW_VENTANA
config TARGET_KOSAGI_NOVENA
bool "Kosagi Novena"
select BOARD_LATE_INIT
select SUPPORT_SPL
config TARGET_MX6CUBOXI
bool "Solid-run mx6 boards"
select BOARD_LATE_INIT
select SUPPORT_SPL
config TARGET_MX6QARM2
......@@ -147,11 +159,13 @@ config TARGET_MX6Q_ICORE_RQS
config TARGET_MX6QSABREAUTO
bool "mx6qsabreauto"
select BOARD_LATE_INIT
select DM
select DM_THERMAL
config TARGET_MX6SABRESD
bool "mx6sabresd"
select BOARD_LATE_INIT
select SUPPORT_SPL
select DM
select DM_THERMAL
......@@ -162,6 +176,7 @@ config TARGET_MX6SLEVK
config TARGET_MX6SLLEVK
bool "mx6sll evk"
select BOARD_LATE_INIT
select MX6SLL
select DM
select DM_THERMAL
......@@ -175,18 +190,21 @@ config TARGET_MX6SXSABRESD
config TARGET_MX6SXSABREAUTO
bool "mx6sxsabreauto"
select BOARD_LATE_INIT
select MX6SX
select DM
select DM_THERMAL
config TARGET_MX6UL_9X9_EVK
bool "mx6ul_9x9_evk"
select BOARD_LATE_INIT
select MX6UL
select DM
select DM_THERMAL
select SUPPORT_SPL
config TARGET_MX6UL_14X14_EVK
select BOARD_LATE_INIT
bool "mx6ul_14x14_evk"
select MX6UL
select DM
......@@ -207,6 +225,7 @@ config TARGET_MX6UL_GEAM
config TARGET_MX6ULL_14X14_EVK
bool "Support mx6ull_14x14_evk"
select BOARD_LATE_INIT
select MX6ULL
select DM
select DM_THERMAL
......@@ -224,6 +243,7 @@ config TARGET_PICO_IMX6UL
config TARGET_LITEBOARD
bool "Grinn liteBoard (i.MX6UL)"
select BOARD_LATE_INIT
select LITESOM
config TARGET_PLATINUM_PICON
......@@ -236,6 +256,7 @@ config TARGET_PLATINUM_TITANIUM
config TARGET_PCM058
bool "Phytec PCM058 i.MX6 Quad"
select BOARD_LATE_INIT
select SUPPORT_SPL
config TARGET_SECOMX6
......@@ -249,13 +270,16 @@ config TARGET_TITANIUM
config TARGET_TQMA6
bool "TQ Systems TQMa6 board"
select BOARD_LATE_INIT
config TARGET_UDOO
bool "udoo"
select BOARD_LATE_INIT
select SUPPORT_SPL
config TARGET_UDOO_NEO
bool "UDOO Neo"
select BOARD_LATE_INIT
select SUPPORT_SPL
select MX6SX
select DM
......@@ -263,19 +287,23 @@ config TARGET_UDOO_NEO
config TARGET_SAMTEC_VINING_2000
bool "samtec VIN|ING 2000"
select BOARD_LATE_INIT
select MX6SX
select DM
select DM_THERMAL
config TARGET_WANDBOARD
bool "wandboard"
select BOARD_LATE_INIT
select SUPPORT_SPL
config TARGET_WARP
bool "WaRP"
select BOARD_LATE_INIT
config TARGET_XPRESS
bool "CCV xPress"
select BOARD_LATE_INIT
select MX6UL
select DM
select DM_THERMAL
......@@ -283,12 +311,14 @@ config TARGET_XPRESS
config TARGET_ZC5202
bool "zc5202"
select BOARD_LATE_INIT
select SUPPORT_SPL
select DM
select DM_THERMAL
config TARGET_ZC5601
bool "zc5601"
select BOARD_LATE_INIT
select SUPPORT_SPL
select DM
select DM_THERMAL
......
......@@ -18,18 +18,21 @@ choice
config TARGET_MX7DSABRESD
bool "mx7dsabresd"
select BOARD_LATE_INIT
select MX7D
select DM
select DM_THERMAL
config TARGET_WARP7
bool "warp7"
select BOARD_LATE_INIT
select MX7D
select DM
select DM_THERMAL
config TARGET_COLIBRI_IMX7
bool "Support Colibri iMX7S/iMX7D modules"
select BOARD_LATE_INIT
select DM
select DM_SERIAL
select DM_THERMAL
......
......@@ -25,6 +25,7 @@ config TARGET_SNAPPER9260
config TARGET_GURNARD
bool "Support gurnard"
select BOARD_LATE_INIT
select CPU_ARM926EJS
select DM
select DM_SERIAL
......@@ -96,6 +97,7 @@ config TARGET_SAMA5D3_XPLAINED
config TARGET_SAMA5D3XEK
bool "SAMA5D3X-EK board"
select BOARD_LATE_INIT
select CPU_V7
select SUPPORT_SPL
......
......@@ -18,6 +18,7 @@ config TARGET_DA850EVM
config TARGET_EA20
bool "EA20 board"
select BOARD_LATE_INIT
config TARGET_OMAPL138_LCDK
bool "OMAPL138 LCDK"
......
......@@ -33,6 +33,7 @@ config TARGET_ICONNECT
config TARGET_KM_KIRKWOOD
bool "KM_KIRKWOOD Board"
select BOARD_LATE_INIT
config TARGET_NET2BIG_V2
bool "LaCie 2Big Network v2 NAS Board"
......
......@@ -86,6 +86,7 @@ config TARGET_DB_88F6820_AMC
config TARGET_MVEBU_ARMADA_8K
bool "Support Armada 7k/8k platforms"
select ARMADA_8K
select BOARD_LATE_INIT
config TARGET_DB_MV784MP_GP
bool "Support db-mv784mp-gp"
......@@ -101,6 +102,7 @@ config TARGET_MAXBCM
config TARGET_THEADORABLE
bool "Support theadorable Armada XP"
select BOARD_LATE_INIT if USB
select MV78260
endchoice
......
......@@ -6,6 +6,7 @@ choice
config TARGET_AM335X_EVM
bool "Support am335x_evm"
select BOARD_LATE_INIT
select DM
select DM_SERIAL
select DM_GPIO
......@@ -20,6 +21,7 @@ config TARGET_AM335X_EVM
config TARGET_AM335X_BALTOS
bool "Support am335x_baltos"
select BOARD_LATE_INIT
select DM
select DM_SERIAL
select DM_GPIO
......@@ -32,18 +34,21 @@ config TARGET_AM335X_IGEP0033
config TARGET_AM335X_SHC
bool "Support am335x based shc board from bosch"
select BOARD_LATE_INIT
select DM
select DM_SERIAL
select DM_GPIO
config TARGET_AM335X_SL50
bool "Support am335x_sl50"
select BOARD_LATE_INIT
select DM
select DM_SERIAL
select DM_GPIO
config TARGET_BAV335X
bool "Support bav335x"
select BOARD_LATE_INIT
select DM
select DM_SERIAL
help
......@@ -96,6 +101,7 @@ config SPL_I2C_SUPPORT
config TARGET_AM43XX_EVM
bool "Support am43xx_evm"
select BOARD_LATE_INIT
select TI_I2C_BOARD_DETECT
help
This option specifies support for the AM43xx
......
......@@ -96,9 +96,11 @@ config TARGET_TRICORDER
config TARGET_MCX
bool "MCX"
select BOARD_LATE_INIT
config TARGET_OMAP3_LOGIC
bool "OMAP3 Logic"
select BOARD_LATE_INIT
select DM
select DM_SERIAL
select DM_GPIO
......
......@@ -51,11 +51,13 @@ config TARGET_OMAP5_UEVM
config TARGET_DRA7XX_EVM
bool "TI DRA7XX"
select BOARD_LATE_INIT
select TI_I2C_BOARD_DETECT
select PHYS_64BIT
config TARGET_AM57XX_EVM
bool "AM57XX"
select BOARD_LATE_INIT
select TI_I2C_BOARD_DETECT
endchoice
......
......@@ -2,9 +2,11 @@ if ROCKCHIP_RK3036
config TARGET_EVB_RK3036
bool "EVB_RK3036"
select BOARD_LATE_INIT
config TARGET_KYLIN_RK3036
bool "KYLIN_RK3036"
select BOARD_LATE_INIT
config SYS_SOC
default "rockchip"
......
......@@ -2,6 +2,7 @@ if ROCKCHIP_RK3288
config TARGET_FIREFLY_RK3288
bool "Firefly-RK3288"
select BOARD_LATE_INIT
help
Firefly is a RK3288-based development board with 2 USB ports,
HDMI, VGA, micro-SD card, audio, WiFi and Gigabit Ethernet, It
......@@ -10,6 +11,7 @@ config TARGET_FIREFLY_RK3288
config TARGET_EVB_RK3288
bool "Evb-RK3288"
select BOARD_LATE_INIT
help
EVB-RK3288 is a RK3288-based development board with 2 USB ports,
HDMI, VGA, micro-SD card, audio, WiFi and Gigabit Ethernet, It
......@@ -18,6 +20,7 @@ config TARGET_EVB_RK3288
config TARGET_FENNEC_RK3288
bool "Fennec-RK3288"
select BOARD_LATE_INIT
help
Fennec is a RK3288-based development board with 2 USB ports,
HDMI, micro-SD card, audio, WiFi and Gigabit Ethernet. It also
......@@ -26,6 +29,7 @@ config TARGET_FENNEC_RK3288
config TARGET_POPMETAL_RK3288
bool "PopMetal-RK3288"
select BOARD_LATE_INIT
help
PopMetal is a RK3288-based development board with 3 USB host ports,
1 micro USB OTG port, HDMI, VGA, micro-SD card, audio, WiFi, Gigabit
......@@ -35,6 +39,7 @@ config TARGET_POPMETAL_RK3288
config TARGET_MINIARM_RK3288
bool "miniarm-RK3288"
select BOARD_LATE_INIT
help
Miniarm is a RK3288-based development board with 2 USB ports, HDMI,
micro-SD card, audio, Gigabit Ethernet. It also includes on-board
......@@ -43,6 +48,7 @@ config TARGET_MINIARM_RK3288
config TARGET_CHROMEBOOK_JERRY
bool "Google/Rockchip Veyron-Jerry Chromebook"
select BOARD_LATE_INIT
help
Jerry is a RK3288-based clamshell device with 2 USB 3.0 ports,
HDMI, an 11.9 inch EDP display, micro-SD card, touchpad and
......@@ -51,6 +57,7 @@ config TARGET_CHROMEBOOK_JERRY
config TARGET_CHROMEBIT_MICKEY
bool "Google/Rockchip Veyron-Mickey Chromebit"
select BOARD_LATE_INIT
help
Mickey is a small RK3288-based device with one USB 3.0 port, HDMI
and WiFi. It has a separate power port and is designed to connect
......@@ -60,6 +67,7 @@ config TARGET_CHROMEBIT_MICKEY
config TARGET_CHROMEBOOK_MINNIE
bool "Google/Rockchip Veyron-Minnie Chromebook"
select BOARD_LATE_INIT
help
Minnie is a RK3288-based convertible clamshell device with 2 USB 3.0
ports, micro HDMI, a 10.1-inch 1280x800 EDP display, micro-SD card,
......@@ -70,6 +78,7 @@ config TARGET_CHROMEBOOK_MINNIE
config TARGET_ROCK2
bool "Radxa Rock 2"
select BOARD_LATE_INIT
help
Rock 2 is a SOM and base-board combination based on RK3288. It