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: Tom Rini <trini@konsulko.com>
Acked-by: Masahiro Yamada <yamada.masahiro@socionext.com> (for UniPhier)
diff --git a/arch/arm/mach-omap2/am33xx/Kconfig b/arch/arm/mach-omap2/am33xx/Kconfig
index 56c4406..ae1c3cf 100644
--- a/arch/arm/mach-omap2/am33xx/Kconfig
+++ b/arch/arm/mach-omap2/am33xx/Kconfig
@@ -6,6 +6,7 @@
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_BALTOS
bool "Support am335x_baltos"
+ select BOARD_LATE_INIT
select DM
select DM_SERIAL
select DM_GPIO
@@ -32,18 +34,21 @@
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 TARGET_AM43XX_EVM
bool "Support am43xx_evm"
+ select BOARD_LATE_INIT
select TI_I2C_BOARD_DETECT
help
This option specifies support for the AM43xx