]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
imx8m: Select BINMAN at SoC level
authorFabio Estevam <festevam@denx.de>
Mon, 8 Jan 2024 21:11:40 +0000 (18:11 -0300)
committerFabio Estevam <festevam@gmail.com>
Fri, 12 Jan 2024 16:09:56 +0000 (13:09 -0300)
All i.MX8M targets rely on using binman to generate the U-Boot
binary.

Select it at the SoC level instead of per board.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
arch/arm/mach-imx/imx8m/Kconfig

index 67da198956c200db73e8c5a427cba4196e43239f..b1937198402fae7357a7b4fc3047a498504d8bc4 100644 (file)
@@ -2,6 +2,7 @@ if ARCH_IMX8M
 
 config IMX8M
        bool
+       select BINMAN
        select GICV3 if ARMV8_PSCI
        select HAS_CAAM
        select ROM_UNIFIED_SECTIONS
@@ -41,13 +42,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
@@ -56,26 +55,22 @@ config TARGET_IMX8MQ_EVK
 
 config TARGET_IMX8MQ_PHANBELL
        bool "imx8mq_phanbell"
-       select BINMAN
        select IMX8MQ
        select IMX8M_LPDDR4
 
 config TARGET_IMX8MQ_REFORM2
        bool "imx8mq_reform2"
-       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
@@ -85,7 +80,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
@@ -104,21 +98,18 @@ 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_PHG
        bool "i.MX8MM PHG board"
-       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
@@ -130,7 +121,6 @@ config TARGET_IMX8MM_VENICE
 
 config TARGET_KONTRON_MX8MM
        bool "Kontron Electronics N80xx"
-       select BINMAN
        select IMX8MM
        select SUPPORT_SPL
        select IMX8M_LPDDR4
@@ -140,21 +130,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
@@ -163,7 +150,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
@@ -172,7 +158,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
@@ -184,14 +169,12 @@ config TARGET_IMX8MN_VENICE
 
 config TARGET_IMX8MP_DATA_MODUL_EDM_SBC
        bool "Data Modul eDM SBC i.MX8M Plus"
-       select BINMAN
        select IMX8MP
        select IMX8M_LPDDR4
        select SUPPORT_SPL
 
 config TARGET_IMX8MP_BEACON
        bool "imx8mm Beacon Embedded devkit"
-       select BINMAN
        select IMX8MP
        select SUPPORT_SPL
        select IMX8M_LPDDR4
@@ -201,21 +184,18 @@ config TARGET_IMX8MP_BEACON
 
 config TARGET_IMX8MP_DEBIX_MODEL_A
        bool "Polyhex i.MX8M Plus Debix Model A SBC"
-       select BINMAN
        select IMX8MP
        select IMX8M_LPDDR4
        select SUPPORT_SPL
 
 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
@@ -229,7 +209,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
@@ -239,7 +218,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
@@ -251,13 +229,11 @@ 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 "Variscite imx8mn_var_som"
-       select BINMAN
        select IMX8MN
        select SUPPORT_SPL
        select IMX8M_DDR4
@@ -268,27 +244,23 @@ config TARGET_IMX8MN_VAR_SOM
 
 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
@@ -298,7 +270,6 @@ config TARGET_IMX8MM_BEACON
 
 config TARGET_IMX8MN_BEACON
        bool "imx8mn Beacon Embedded devkit"
-       select BINMAN
        select IMX8MN
        select SUPPORT_SPL
        select IMX8M_LPDDR4
@@ -308,21 +279,18 @@ config TARGET_IMX8MN_BEACON
 
 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
@@ -330,7 +298,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
@@ -338,28 +305,24 @@ 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_MSC_SM2S_IMX8MP
        bool "MSC SMARC2 i.MX8MPLUS"
-       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