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 <[email protected]>
---
Changes for v2:
- none

 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

Reply via email to