Skip to contentSkip to conversation

arm: ti: k3: Add select TOOLS_MKEFICAPSULE to some platforms

PATCH In review Tom Rini 1 participant 2 messages Oct 21 – Nov 1

Subsystems (2)
lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 arm: ti: k3: Add select TOOLS_MKEFICAPSULE to some platforms

Starting with commit 2f736e8e3f4b ("tools: build mkeficapsule for CONFIG_EFI_HAVE_CAPSULE_SUPPORT=y") we no longer build mkeficapsule so often. The TI K3 platforms, on their Cortex-R cores, need to have mkeficapsule built as they generate capsule updates, but these updates are managed by the Cortex-A builds. Add select TOOLS_MKEFICAPSULE so they build again when the host doesn't already have the mkeficapsule tool installed.

Fixes 2f736e8e3f4b ("tools: build mkeficapsule for CONFIG_EFI_HAVE_CAPSULE_SUPPORT=y")
---
 arch/arm/mach-k3/am62ax/Kconfig     | 1 +
 arch/arm/mach-k3/am62px/Kconfig     | 1 +
 arch/arm/mach-k3/am62x/Kconfig      | 2 ++
 arch/arm/mach-k3/am64x/Kconfig      | 2 ++
 arch/arm/mach-k3/j721e/Kconfig      | 1 +
 arch/arm/mach-k3/j784s4/Kconfig     | 1 +
 board/beagle/beagleboneai64/Kconfig | 1 +
 board/beagle/beagleplay/Kconfig     | 1 +
 board/beagle/pocketbeagle2/Kconfig  | 1 +
 9 files changed, 11 insertions(+)
arch/arm/mach-k3/am62ax/Kconfig +1 -0
index 6a3969343ec1..0c1c7ca2802c 100644
@@ -48,6 +48,7 @@ config TARGET_PHYCORE_AM62AX_R5
 	select SPL_RAM
 	select K3_DDRSS
 	select BINMAN
+	select TOOLS_MKEFICAPSULE
 	imply SYS_K3_SPL_ATF
 
 config TARGET_AM62D2_A53_EVM
arch/arm/mach-k3/am62px/Kconfig +1 -0
index 0f1fcfab5fc3..628e02b78552 100644
@@ -24,6 +24,7 @@ config TARGET_AM62P5_R5_EVM
 	select SPL_RAM
 	select K3_DDRSS
 	select BINMAN
+	select TOOLS_MKEFICAPSULE
 	imply SYS_K3_SPL_ATF
 
 endchoice
arch/arm/mach-k3/am62x/Kconfig +2 -0
index 87470248aa15..0ce30db83bb7 100644
@@ -26,6 +26,7 @@ config TARGET_AM625_R5_EVM
 	select SPL_RAM
 	select K3_DDRSS
 	select BINMAN
+	select TOOLS_MKEFICAPSULE
 	imply SYS_K3_SPL_ATF
 	imply TI_I2C_BOARD_DETECT
 
@@ -45,6 +46,7 @@ config TARGET_PHYCORE_AM62X_R5
 	select SPL_RAM
 	select K3_DDRSS
 	select BINMAN
+	select TOOLS_MKEFICAPSULE
 	select PHYTEC_K3_DDR_PATCH
 	imply SYS_K3_SPL_ATF
 
arch/arm/mach-k3/am64x/Kconfig +2 -0
index e8b7d54d7ac3..fe3f1b7c6ba8 100644
@@ -26,6 +26,7 @@ config TARGET_AM642_R5_EVM
 	select SPL_RAM
 	select K3_DDRSS
 	select BINMAN
+	select TOOLS_MKEFICAPSULE
 	imply SYS_K3_SPL_ATF
 	imply TI_I2C_BOARD_DETECT
 
@@ -46,6 +47,7 @@ config TARGET_PHYCORE_AM64X_R5
 	select SPL_RAM
 	select K3_DDRSS
 	select BINMAN
+	select TOOLS_MKEFICAPSULE
 	imply SYS_K3_SPL_ATF
 
 endchoice
arch/arm/mach-k3/j721e/Kconfig +1 -0
index 4d01f2c8af2e..f8c97ccf45bb 100644
@@ -26,6 +26,7 @@ config TARGET_J721E_R5_EVM
 	select SPL_RAM
 	select K3_DDRSS
 	select BINMAN
+	select TOOLS_MKEFICAPSULE
 	imply SYS_K3_SPL_ATF
 	imply TI_I2C_BOARD_DETECT
 
arch/arm/mach-k3/j784s4/Kconfig +1 -0
index f5447b0b836f..7a7430f67a10 100644
@@ -43,6 +43,7 @@ config TARGET_J784S4_R5_EVM
 	select SPL_RAM
 	select K3_DDRSS
 	select BINMAN
+	select TOOLS_MKEFICAPSULE
 	imply SYS_K3_SPL_ATF
 
 config TARGET_J742S2_A72_EVM
board/beagle/beagleboneai64/Kconfig +1 -0
index 7d7077e9f28e..735dfb5f1f39 100644
@@ -24,6 +24,7 @@ config TARGET_J721E_R5_BEAGLEBONEAI64
 	select SPL_RAM
 	select K3_DDRSS
 	select BINMAN
+	select TOOLS_MKEFICAPSULE
 	imply SYS_K3_SPL_ATF
 
 endchoice
board/beagle/beagleplay/Kconfig +1 -0
index fcc6a5aa4960..d545d2297abc 100644
@@ -23,6 +23,7 @@ config TARGET_AM625_R5_BEAGLEPLAY
 	select SPL_RAM
 	select K3_DDRSS
 	select BINMAN
+	select TOOLS_MKEFICAPSULE
 	imply SYS_K3_SPL_ATF
 
 endchoice
board/beagle/pocketbeagle2/Kconfig +1 -0
index e957b8e8377e..b696f69c8230 100644
@@ -22,6 +22,7 @@ config TARGET_AM62X_R5_POCKETBEAGLE2
 	select SPL_RAM
 	select K3_DDRSS
 	select BINMAN
+	select TOOLS_MKEFICAPSULE
 	imply SYS_K3_SPL_ATF
 
 endchoice
Signature · 1 line
2.43.0
author
#1 lore raw
Quoted 9 lines · Tom Rini

Starting with commit 2f736e8e3f4b ("tools: build mkeficapsule for CONFIG_EFI_HAVE_CAPSULE_SUPPORT=y") we no longer build mkeficapsule so often. The TI K3 platforms, on their Cortex-R cores, need to have mkeficapsule built as they generate capsule updates, but these updates are managed by the Cortex-A builds. Add select TOOLS_MKEFICAPSULE so they build again when the host doesn't already have the mkeficapsule tool installed.

[...]

Applied to u-boot/main, thanks!

[1/1] arm: ti: k3: Add select TOOLS_MKEFICAPSULE to some platforms

      commit: d0dbe57fcdcd2fd2de36152712e3e6cf520c1543
Signature · 1 line
Tom