[PATCH] ARM: imx: soc: Switch BOARD_EARLY_INIT_F to imply on MX7

2020-06-23 Thread sbabic
> There are systems where board_early_init_f() is plain empty. Switch
> the config option from "select" to "imply", to permit user to unset
> the BOARD_EARLY_INIT_F if it were to be empty.
> Signed-off-by: Marek Vasut 
> Cc: Fabio Estevam 
> Cc: NXP i.MX U-Boot Team 
> Cc: Peng Fan 
> Cc: Stefano Babic 
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=
DENX Software Engineering GmbH,  Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sba...@denx.de
=


[PATCH] ARM: imx: soc: Switch BOARD_EARLY_INIT_F to imply on MX7

2020-05-21 Thread Marek Vasut
There are systems where board_early_init_f() is plain empty. Switch
the config option from "select" to "imply", to permit user to unset
the BOARD_EARLY_INIT_F if it were to be empty.

Signed-off-by: Marek Vasut 
Cc: Fabio Estevam 
Cc: NXP i.MX U-Boot Team 
Cc: Peng Fan 
Cc: Stefano Babic 
---
 arch/arm/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index ef7da27877..a581cfb0f7 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -873,11 +873,11 @@ config ARCH_MX7ULP
 config ARCH_MX7
bool "Freescale MX7"
select ARCH_MISC_INIT
-   select BOARD_EARLY_INIT_F
select CPU_V7A
select SYS_FSL_HAS_SEC if IMX_HAB
select SYS_FSL_SEC_COMPAT_4
select SYS_FSL_SEC_LE
+   imply BOARD_EARLY_INIT_F
imply MXC_GPIO
imply SYS_THUMB_BUILD
 
-- 
2.25.1