[PATCH] imx8m: Select BINMAN via SoC level

Stefano Babic sbabic at denx.de
Fri Feb 3 12:39:41 CET 2023


Hi Fabio,

On 25.10.22 16:32, Fabio Estevam wrote:
> From: Fabio Estevam <festevam at denx.de>
> 
> Since all imx8m boards have been converted to use binman, select
> binman via SoC level rather than making the selection for each board.
> 

Everything correct, but patch is now obsolete and should be reworked / 
rebased. I won't appply this, but of course I will apply if you think to 
rebase and repost it.

Best regards,
Stefano

> Signed-off-by: Fabio Estevam <festevam at denx.de>
> ---
>   arch/arm/mach-imx/imx8m/Kconfig | 33 +--------------------------------
>   1 file changed, 1 insertion(+), 32 deletions(-)
> 
> diff --git a/arch/arm/mach-imx/imx8m/Kconfig b/arch/arm/mach-imx/imx8m/Kconfig
> index 8cd7c7a8dd8b..c7a272ec18f5 100644
> --- a/arch/arm/mach-imx/imx8m/Kconfig
> +++ b/arch/arm/mach-imx/imx8m/Kconfig
> @@ -2,6 +2,7 @@ if ARCH_IMX8M
>   
>   config IMX8M
>   	bool
> +	select BINMAN
>   	select HAS_CAAM
>   	select ROM_UNIFIED_SECTIONS
>   
> @@ -31,13 +32,11 @@ choice
>   
>   config TARGET_IMX8MQ_CM
>   	bool "Ronetix iMX8MQ-CM SoM"
> -		select BINMAN
>   	select IMX8MQ
>   	select IMX8M_LPDDR4
>   
>   config TARGET_IMX8MQ_EVK
>   	bool "imx8mq_evk"
> -	select BINMAN
>   	select IMX8MQ
>   	select IMX8M_LPDDR4
>   	select FSL_CAAM
> @@ -46,20 +45,17 @@ config TARGET_IMX8MQ_EVK
>   
>   config TARGET_IMX8MQ_PHANBELL
>   	bool "imx8mq_phanbell"
> -	select BINMAN
>   	select IMX8MQ
>   	select IMX8M_LPDDR4
>   
>   config TARGET_IMX8MM_DATA_MODUL_EDM_SBC
>   	bool "Data Modul eDM SBC i.MX8M Mini"
> -	select BINMAN
>   	select IMX8MM
>   	select IMX8M_LPDDR4
>   	select SUPPORT_SPL
>   
>   config TARGET_IMX8MM_EVK
>   	bool "imx8mm LPDDR4 EVK board"
> -	select BINMAN
>   	select IMX8MM
>   	select SUPPORT_SPL
>   	select IMX8M_LPDDR4
> @@ -69,7 +65,6 @@ config TARGET_IMX8MM_EVK
>   
>   config TARGET_IMX8MM_ICORE_MX8MM
>   	bool "Engicam i.Core MX8M Mini SOM"
> -	select BINMAN
>   	select IMX8MM
>   	select SUPPORT_SPL
>   	select IMX8M_LPDDR4
> @@ -88,14 +83,12 @@ config TARGET_IMX8MM_ICORE_MX8MM
>   
>   config TARGET_IMX8MM_MX8MENLO
>   	bool "Support i.MX8M Mini MX8Menlo board based on Toradex Verdin SoM"
> -	select BINMAN
>   	select IMX8MM
>   	select SUPPORT_SPL
>   	select IMX8M_LPDDR4
>   
>   config TARGET_IMX8MM_VENICE
>   	bool "Support Gateworks Venice iMX8M Mini module"
> -	select BINMAN
>   	select IMX8MM
>   	select SUPPORT_SPL
>   	select IMX8M_LPDDR4
> @@ -104,7 +97,6 @@ config TARGET_IMX8MM_VENICE
>   
>   config TARGET_KONTRON_MX8MM
>   	bool "Kontron Electronics N80xx"
> -	select BINMAN
>   	select IMX8MM
>   	select SUPPORT_SPL
>   	select IMX8M_LPDDR4
> @@ -114,21 +106,18 @@ config TARGET_KONTRON_MX8MM
>   
>   config TARGET_IMX8MN_BSH_SMM_S2
>   	bool "imx8mn-bsh-smm-s2"
> -	select BINMAN
>   	select IMX8MN
>   	select SUPPORT_SPL
>   	select IMX8M_DDR3L
>   
>   config TARGET_IMX8MN_BSH_SMM_S2PRO
>   	bool "imx8mn-bsh-smm-s2pro"
> -	select BINMAN
>   	select IMX8MN
>   	select SUPPORT_SPL
>   	select IMX8M_DDR3L
>   
>   config TARGET_IMX8MN_EVK
>   	bool "imx8mn LPDDR4 EVK board"
> -	select BINMAN
>   	select IMX8MN
>   	select SUPPORT_SPL
>   	select IMX8M_LPDDR4
> @@ -137,7 +126,6 @@ config TARGET_IMX8MN_EVK
>   
>   config TARGET_IMX8MN_DDR4_EVK
>   	bool "imx8mn DDR4 EVK board"
> -	select BINMAN
>   	select IMX8MN
>   	select SUPPORT_SPL
>   	select IMX8M_DDR4
> @@ -146,7 +134,6 @@ config TARGET_IMX8MN_DDR4_EVK
>   
>   config TARGET_IMX8MN_VENICE
>   	bool "Support Gateworks Venice iMX8M Nano module"
> -	select BINMAN
>   	select IMX8MN
>   	select SUPPORT_SPL
>   	select IMX8M_LPDDR4
> @@ -155,14 +142,12 @@ config TARGET_IMX8MN_VENICE
>   
>   config TARGET_IMX8MP_DH_DHCOM_PDK2
>   	bool "DH electronics DHCOM Premium Developer Kit (2) i.MX8M Plus"
> -	select BINMAN
>   	select IMX8MP
>   	select IMX8M_LPDDR4
>   	select SUPPORT_SPL
>   
>   config TARGET_IMX8MP_ICORE_MX8MP
>   	bool "Engicam i.Core MX8M Plus SOM"
> -	select BINMAN
>   	select IMX8MP
>   	select IMX8M_LPDDR4
>   	select SUPPORT_SPL
> @@ -176,7 +161,6 @@ config TARGET_IMX8MP_ICORE_MX8MP
>   
>   config TARGET_IMX8MP_EVK
>   	bool "imx8mp LPDDR4 EVK board"
> -	select BINMAN
>   	select IMX8MP
>   	select SUPPORT_SPL
>   	select IMX8M_LPDDR4
> @@ -186,7 +170,6 @@ config TARGET_IMX8MP_EVK
>   
>   config TARGET_IMX8MP_VENICE
>   	bool "Support Gateworks Venice iMX8M Plus module"
> -	select BINMAN
>   	select IMX8MP
>   	select SUPPORT_SPL
>   	select IMX8M_LPDDR4
> @@ -195,68 +178,58 @@ config TARGET_IMX8MP_VENICE
>   
>   config TARGET_PICO_IMX8MQ
>   	bool "Support Technexion Pico iMX8MQ"
> -	select BINMAN
>   	select IMX8MQ
>   	select IMX8M_LPDDR4
>   
>   config TARGET_IMX8MN_VAR_SOM
>   	bool "imx8mn_var_som"
> -	select BINMAN
>   	select IMX8MN
>   	select SUPPORT_SPL
>   	select IMX8M_DDR4
>   
>   config TARGET_KONTRON_PITX_IMX8M
>   	bool "Support Kontron pITX-imx8m"
> -	select BINMAN
>   	select IMX8MQ
>   	select IMX8M_LPDDR4
>   
>   config TARGET_VERDIN_IMX8MM
>   	bool "Support Toradex Verdin iMX8M Mini module"
> -	select BINMAN
>   	select IMX8MM
>   	select SUPPORT_SPL
>   	select IMX8M_LPDDR4
>   
>   config TARGET_VERDIN_IMX8MP
>   	bool "Support Toradex Verdin iMX8M Plus module"
> -	select BINMAN
>   	select IMX8MP
>   	select SUPPORT_SPL
>   	select IMX8M_LPDDR4
>   
>   config TARGET_IMX8MM_BEACON
>   	bool "imx8mm Beacon Embedded devkit"
> -	select BINMAN
>   	select IMX8MM
>   	select SUPPORT_SPL
>   	select IMX8M_LPDDR4
>   
>   config TARGET_IMX8MN_BEACON
>   	bool "imx8mn Beacon Embedded devkit"
> -	select BINMAN
>   	select IMX8MN
>   	select SUPPORT_SPL
>   	select IMX8M_LPDDR4
>   
>   config TARGET_PHYCORE_IMX8MM
>   	bool "PHYTEC PHYCORE i.MX8MM"
> -	select BINMAN
>   	select IMX8MM
>   	select SUPPORT_SPL
>   	select IMX8M_LPDDR4
>   
>   config TARGET_PHYCORE_IMX8MP
>   	bool "PHYTEC PHYCORE i.MX8MP"
> -	select BINMAN
>   	select IMX8MP
>   	select SUPPORT_SPL
>   	select IMX8M_LPDDR4
>   
>   config TARGET_IMX8MM_CL_IOT_GATE
>   	bool "CompuLab iot-gate-imx8"
> -	select BINMAN
>   	select IMX8MM
>   	select SUPPORT_SPL
>   	select IMX8M_LPDDR4
> @@ -264,7 +237,6 @@ config TARGET_IMX8MM_CL_IOT_GATE
>   
>   config TARGET_IMX8MM_CL_IOT_GATE_OPTEE
>   	bool "CompuLab iot-gate-imx8 with optee support"
> -	select BINMAN
>   	select IMX8MM
>   	select SUPPORT_SPL
>   	select IMX8M_LPDDR4
> @@ -272,21 +244,18 @@ config TARGET_IMX8MM_CL_IOT_GATE_OPTEE
>   
>   config TARGET_IMX8MP_RSB3720A1_4G
>   	bool "Support i.MX8MP RSB3720A1 4G"
> -	select BINMAN
>   	select IMX8MP
>   	select SUPPORT_SPL
>   	select IMX8M_LPDDR4
>   
>   config TARGET_IMX8MP_RSB3720A1_6G
>   	bool "Support i.MX8MP RSB3720A1 6G"
> -	select BINMAN
>   	select IMX8MP
>   	select SUPPORT_SPL
>   	select IMX8M_LPDDR4
>   
>   config TARGET_LIBREM5
>   	bool "Purism Librem5 Phone"
> -	select BINMAN
>   	select IMX8MQ
>   	select SUPPORT_SPL
>   	select IMX8M_LPDDR4

-- 
=====================================================================
DENX Software Engineering GmbH,        Managing Director: Erika Unter
HRB 165235 Munich,   Office: Kirchenstr.5, 82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================



More information about the U-Boot mailing list