From: Simon Glass <[email protected]>

At present simple-bin-spi relies on the u-boot.itb file created by the
simple-bin image. Use the template to avoid this, since Binman may
change to process images in parallel in the future.

Signed-off-by: Simon Glass <[email protected]>
Signed-off-by: Jonas Karlman <[email protected]>
---
Changes in v4:
- Drop filename for the SPI FIT
- Split from "VBE serial part H: Implement VBE on Rockchip RK3399"

Changes in v3:
- Keep the filename for the SPI FIT

This is an alternative for the issue reported and fixed in [1] and [2].

[1] https://lore.kernel.org/u-boot/[email protected]/
[2] 
https://lore.kernel.org/u-boot/20250220-has_rom-u-boot-rockchip-spi-bin-v2-3-d1768ee87...@cherry.de/
---
 arch/arm/dts/rockchip-u-boot.dtsi | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/arch/arm/dts/rockchip-u-boot.dtsi 
b/arch/arm/dts/rockchip-u-boot.dtsi
index f860bfc1ba72..73149b2d8bdd 100644
--- a/arch/arm/dts/rockchip-u-boot.dtsi
+++ b/arch/arm/dts/rockchip-u-boot.dtsi
@@ -207,8 +207,7 @@
 
 #ifdef HAS_FIT
                fit {
-                       type = "blob";
-                       filename = "u-boot.itb";
+                       insert-template = <&fit_template>;
 #else
                u-boot-img {
 #endif
-- 
2.49.0

Reply via email to