[PATCH 2/3] arm: mach-k3: Enable BINMAN Kconfig symbol for all ARCH_K3

Andrew Davis afd at ti.com
Wed Mar 19 20:29:57 CET 2025


All K3 build need BINMAN support so select it under ARCH_K3,
not individually for each board target.

Signed-off-by: Andrew Davis <afd at ti.com>
---
 arch/arm/Kconfig                    | 1 +
 arch/arm/mach-k3/am62ax/Kconfig     | 4 ----
 arch/arm/mach-k3/am62px/Kconfig     | 2 --
 arch/arm/mach-k3/am62x/Kconfig      | 6 ------
 arch/arm/mach-k3/am64x/Kconfig      | 4 ----
 arch/arm/mach-k3/am65x/Kconfig      | 3 ---
 arch/arm/mach-k3/j721e/Kconfig      | 4 ----
 arch/arm/mach-k3/j721s2/Kconfig     | 2 --
 arch/arm/mach-k3/j722s/Kconfig      | 2 --
 arch/arm/mach-k3/j784s4/Kconfig     | 2 --
 board/beagle/beagleboneai64/Kconfig | 2 --
 board/beagle/beagleplay/Kconfig     | 2 --
 12 files changed, 1 insertion(+), 33 deletions(-)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index da6f1174934..c63bb772d75 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -809,6 +809,7 @@ config ARCH_KEYSTONE
 
 config ARCH_K3
 	bool "Texas Instruments' K3 Architecture"
+	select BINMAN
 	select SPL
 	select SUPPORT_SPL
 	select FIT
diff --git a/arch/arm/mach-k3/am62ax/Kconfig b/arch/arm/mach-k3/am62ax/Kconfig
index 6f6ac35c1d8..151fc6b592e 100644
--- a/arch/arm/mach-k3/am62ax/Kconfig
+++ b/arch/arm/mach-k3/am62ax/Kconfig
@@ -12,7 +12,6 @@ choice
 config TARGET_AM62A7_A53_EVM
 	bool "TI K3 based AM62A7 EVM running on A53"
 	select ARM64
-	select BINMAN
 	select OF_SYSTEM_SETUP
 	imply TI_I2C_BOARD_DETECT
 
@@ -24,14 +23,12 @@ config TARGET_AM62A7_R5_EVM
 	select RAM
 	select SPL_RAM
 	select K3_DDRSS
-	select BINMAN
 	imply SYS_K3_SPL_ATF
 	imply TI_I2C_BOARD_DETECT
 
 config TARGET_PHYCORE_AM62AX_A53
 	bool "PHYTEC phyCORE-AM62Ax running on A53"
 	select ARM64
-	select BINMAN
 	select OF_SYSTEM_SETUP
 	imply OF_UPSTREAM
 	imply BOARD
@@ -45,7 +42,6 @@ config TARGET_PHYCORE_AM62AX_R5
 	select RAM
 	select SPL_RAM
 	select K3_DDRSS
-	select BINMAN
 	imply SYS_K3_SPL_ATF
 
 endchoice
diff --git a/arch/arm/mach-k3/am62px/Kconfig b/arch/arm/mach-k3/am62px/Kconfig
index 76ae86b6622..cd23740d7bc 100644
--- a/arch/arm/mach-k3/am62px/Kconfig
+++ b/arch/arm/mach-k3/am62px/Kconfig
@@ -12,7 +12,6 @@ choice
 config TARGET_AM62P5_A53_EVM
 	bool "TI K3 based AM62P5 EVM running on A53"
 	select ARM64
-	select BINMAN
 	select OF_SYSTEM_SETUP
 
 config TARGET_AM62P5_R5_EVM
@@ -23,7 +22,6 @@ config TARGET_AM62P5_R5_EVM
 	select RAM
 	select SPL_RAM
 	select K3_DDRSS
-	select BINMAN
 	imply SYS_K3_SPL_ATF
 
 endchoice
diff --git a/arch/arm/mach-k3/am62x/Kconfig b/arch/arm/mach-k3/am62x/Kconfig
index 81199ada3a1..0f16cfa8b92 100644
--- a/arch/arm/mach-k3/am62x/Kconfig
+++ b/arch/arm/mach-k3/am62x/Kconfig
@@ -12,7 +12,6 @@ choice
 config TARGET_AM625_A53_EVM
 	bool "TI K3 based AM625 EVM running on A53"
 	select ARM64
-	select BINMAN
 	select OF_SYSTEM_SETUP
 
 config TARGET_AM625_R5_EVM
@@ -23,13 +22,11 @@ config TARGET_AM625_R5_EVM
 	select RAM
 	select SPL_RAM
 	select K3_DDRSS
-	select BINMAN
 	imply SYS_K3_SPL_ATF
 
 config TARGET_PHYCORE_AM62X_A53
 	bool "PHYTEC phyCORE-AM62x running on A53"
 	select ARM64
-	select BINMAN
 	select OF_SYSTEM_SETUP
 	imply OF_UPSTREAM
 
@@ -41,14 +38,12 @@ config TARGET_PHYCORE_AM62X_R5
 	select RAM
 	select SPL_RAM
 	select K3_DDRSS
-	select BINMAN
 	select PHYTEC_K3_DDR_PATCH
 	imply SYS_K3_SPL_ATF
 
 config TARGET_VERDIN_AM62_A53
 	bool "Toradex Verdin AM62 running on A53"
 	select ARM64
-	select BINMAN
 	select OF_SYSTEM_SETUP
 	imply OF_UPSTREAM
 
@@ -60,7 +55,6 @@ config TARGET_VERDIN_AM62_R5
 	select RAM
 	select SPL_RAM
 	select K3_DDRSS
-	select BINMAN
 	imply SYS_K3_SPL_ATF
 
 endchoice
diff --git a/arch/arm/mach-k3/am64x/Kconfig b/arch/arm/mach-k3/am64x/Kconfig
index 28691ffb227..4a1cae3d0f2 100644
--- a/arch/arm/mach-k3/am64x/Kconfig
+++ b/arch/arm/mach-k3/am64x/Kconfig
@@ -12,7 +12,6 @@ choice
 config TARGET_AM642_A53_EVM
 	bool "TI K3 based AM642 EVM running on A53"
 	select ARM64
-	select BINMAN
 	imply TI_I2C_BOARD_DETECT
 
 config TARGET_AM642_R5_EVM
@@ -23,14 +22,12 @@ config TARGET_AM642_R5_EVM
 	select RAM
 	select SPL_RAM
 	select K3_DDRSS
-	select BINMAN
 	imply SYS_K3_SPL_ATF
 	imply TI_I2C_BOARD_DETECT
 
 config TARGET_PHYCORE_AM64X_A53
 	bool "PHYTEC phyCORE-AM64x running on A53"
 	select ARM64
-	select BINMAN
 	imply BOARD
 	imply SPL_BOARD
 	imply OF_UPSTREAM
@@ -43,7 +40,6 @@ config TARGET_PHYCORE_AM64X_R5
 	select RAM
 	select SPL_RAM
 	select K3_DDRSS
-	select BINMAN
 	imply SYS_K3_SPL_ATF
 
 endchoice
diff --git a/arch/arm/mach-k3/am65x/Kconfig b/arch/arm/mach-k3/am65x/Kconfig
index 72a8298aebf..e823549b535 100644
--- a/arch/arm/mach-k3/am65x/Kconfig
+++ b/arch/arm/mach-k3/am65x/Kconfig
@@ -14,7 +14,6 @@ config TARGET_AM654_A53_EVM
 	select ARM64
 	select SYS_DISABLE_DCACHE_OPS
 	select BOARD_LATE_INIT
-	select BINMAN
 	imply TI_I2C_BOARD_DETECT
 	select OF_UPSTREAM
 
@@ -24,7 +23,6 @@ config TARGET_AM654_R5_EVM
 	select SYS_THUMB_BUILD
 	select K3_LOAD_SYSFW
 	select K3_AM654_DDRSS
-	select BINMAN
 	imply SYS_K3_SPL_ATF
 	imply TI_I2C_BOARD_DETECT
 
@@ -34,7 +32,6 @@ config TARGET_IOT2050_A53
 	select ARM64
 	select BOARD_LATE_INIT
 	select SYS_DISABLE_DCACHE_OPS
-	select BINMAN
 	help
 	  This builds U-Boot for the IOT2050 devices.
 
diff --git a/arch/arm/mach-k3/j721e/Kconfig b/arch/arm/mach-k3/j721e/Kconfig
index 0761b82b15a..32d5bbfda66 100644
--- a/arch/arm/mach-k3/j721e/Kconfig
+++ b/arch/arm/mach-k3/j721e/Kconfig
@@ -15,7 +15,6 @@ config TARGET_J721E_A72_EVM
 	select BOARD_LATE_INIT
 	imply TI_I2C_BOARD_DETECT
 	select SYS_DISABLE_DCACHE_OPS
-	select BINMAN
 
 config TARGET_J721E_R5_EVM
 	bool "TI K3 based J721E EVM running on R5"
@@ -25,7 +24,6 @@ config TARGET_J721E_R5_EVM
 	select RAM
 	select SPL_RAM
 	select K3_DDRSS
-	select BINMAN
 	imply SYS_K3_SPL_ATF
 	imply TI_I2C_BOARD_DETECT
 
@@ -36,7 +34,6 @@ config TARGET_J7200_A72_EVM
 	select BOARD_LATE_INIT
 	imply TI_I2C_BOARD_DETECT
 	select SYS_DISABLE_DCACHE_OPS
-	select BINMAN
 
 config TARGET_J7200_R5_EVM
 	bool "TI K3 based J7200 EVM running on R5"
@@ -46,7 +43,6 @@ config TARGET_J7200_R5_EVM
 	select RAM
 	select SPL_RAM
 	select K3_DDRSS
-	select BINMAN
 	imply SYS_K3_SPL_ATF
 	imply TI_I2C_BOARD_DETECT
 
diff --git a/arch/arm/mach-k3/j721s2/Kconfig b/arch/arm/mach-k3/j721s2/Kconfig
index 8b54c0401b6..4872166fefd 100644
--- a/arch/arm/mach-k3/j721s2/Kconfig
+++ b/arch/arm/mach-k3/j721s2/Kconfig
@@ -15,7 +15,6 @@ config TARGET_J721S2_A72_EVM
 	select BOARD_LATE_INIT
 	imply TI_I2C_BOARD_DETECT
 	select SYS_DISABLE_DCACHE_OPS
-	select BINMAN
 
 config TARGET_J721S2_R5_EVM
 	bool "TI K3 based J721S2 EVM running on R5"
@@ -25,7 +24,6 @@ config TARGET_J721S2_R5_EVM
 	select RAM
 	select SPL_RAM
 	select K3_DDRSS
-	select BINMAN
 	imply SYS_K3_SPL_ATF
 	imply TI_I2C_BOARD_DETECT
 
diff --git a/arch/arm/mach-k3/j722s/Kconfig b/arch/arm/mach-k3/j722s/Kconfig
index 39d38ea5cf5..ce63168187e 100644
--- a/arch/arm/mach-k3/j722s/Kconfig
+++ b/arch/arm/mach-k3/j722s/Kconfig
@@ -12,7 +12,6 @@ choice
 config TARGET_J722S_A53_EVM
 	bool "TI K3 based J722S EVM running on A53"
 	select ARM64
-	select BINMAN
 	select OF_SYSTEM_SETUP
 
 config TARGET_J722S_R5_EVM
@@ -23,7 +22,6 @@ config TARGET_J722S_R5_EVM
 	select RAM
 	select SPL_RAM
 	select K3_DDRSS
-	select BINMAN
 	imply SYS_K3_SPL_ATF
 
 endchoice
diff --git a/arch/arm/mach-k3/j784s4/Kconfig b/arch/arm/mach-k3/j784s4/Kconfig
index 1eadfb346a3..c6a3689ce08 100644
--- a/arch/arm/mach-k3/j784s4/Kconfig
+++ b/arch/arm/mach-k3/j784s4/Kconfig
@@ -14,7 +14,6 @@ config TARGET_J784S4_A72_EVM
 	select ARM64
 	select BOARD_LATE_INIT
 	select SYS_DISABLE_DCACHE_OPS
-	select BINMAN
 
 config TARGET_J784S4_R5_EVM
 	bool "TI K3 based J784S4 EVM running on R5"
@@ -24,7 +23,6 @@ config TARGET_J784S4_R5_EVM
 	select RAM
 	select SPL_RAM
 	select K3_DDRSS
-	select BINMAN
 	imply SYS_K3_SPL_ATF
 
 endchoice
diff --git a/board/beagle/beagleboneai64/Kconfig b/board/beagle/beagleboneai64/Kconfig
index 0f21582614d..41f3f02f5c3 100644
--- a/board/beagle/beagleboneai64/Kconfig
+++ b/board/beagle/beagleboneai64/Kconfig
@@ -13,7 +13,6 @@ config TARGET_J721E_A72_BEAGLEBONEAI64
 	bool "BeagleBoard.org J721E BeagleBone AI-64 running on A72"
 	select ARM64
 	select SYS_DISABLE_DCACHE_OPS
-	select BINMAN
 
 config TARGET_J721E_R5_BEAGLEBONEAI64
 	bool "BeagleBoard.org J721E BeagleBone AI-64 running on R5"
@@ -23,7 +22,6 @@ config TARGET_J721E_R5_BEAGLEBONEAI64
 	select RAM
 	select SPL_RAM
 	select K3_DDRSS
-	select BINMAN
 	imply SYS_K3_SPL_ATF
 
 endchoice
diff --git a/board/beagle/beagleplay/Kconfig b/board/beagle/beagleplay/Kconfig
index 592b53e493c..d691a0c5e02 100644
--- a/board/beagle/beagleplay/Kconfig
+++ b/board/beagle/beagleplay/Kconfig
@@ -11,7 +11,6 @@ choice
 config TARGET_AM625_A53_BEAGLEPLAY
 	bool "BeagleBoard.org AM625 BeaglePlay running on A53"
 	select ARM64
-	select BINMAN
 	select OF_SYSTEM_SETUP
 
 config TARGET_AM625_R5_BEAGLEPLAY
@@ -22,7 +21,6 @@ config TARGET_AM625_R5_BEAGLEPLAY
 	select RAM
 	select SPL_RAM
 	select K3_DDRSS
-	select BINMAN
 	imply SYS_K3_SPL_ATF
 
 endchoice
-- 
2.39.2



More information about the U-Boot mailing list