[PATCH 3/3] arm: dts: rockchip: Build binman image for SPL_OPTEE_IMAGE

Jagan Teki jagan at edgeble.ai
Thu Nov 3 07:02:16 CET 2022


Like ARM64 the u-boot.itb is also built when SPL_OPTEE_IMAGE is
defined.

So, add SPL_OPTEE_IMAGE check for u-boot.itb blob so-that OPTEE
is part of u-boot-rockchip.bin.

Signed-off-by: Jagan Teki <jagan at edgeble.ai>
---
 arch/arm/dts/rockchip-binman.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/dts/rockchip-binman.dtsi b/arch/arm/dts/rockchip-binman.dtsi
index 8f7b3ee53b..48c6e2de4c 100644
--- a/arch/arm/dts/rockchip-binman.dtsi
+++ b/arch/arm/dts/rockchip-binman.dtsi
@@ -24,7 +24,7 @@
 			};
 		};
 
-#ifdef CONFIG_ARM64
+#if defined(CONFIG_ARM64) || defined(CONFIG_SPL_OPTEE_IMAGE)
 		blob {
 			filename = "u-boot.itb";
 #else
-- 
2.25.1



More information about the U-Boot mailing list