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]>
Reviewed-by: Jonas Karlman <[email protected]>
Suggested-by: Jonas Karlman <[email protected]>
---

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

 arch/arm/dts/rockchip-u-boot.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/dts/rockchip-u-boot.dtsi 
b/arch/arm/dts/rockchip-u-boot.dtsi
index 1e4d6f71123..fb304540787 100644
--- a/arch/arm/dts/rockchip-u-boot.dtsi
+++ b/arch/arm/dts/rockchip-u-boot.dtsi
@@ -207,8 +207,8 @@
 
 #ifdef HAS_FIT
                fit {
-                       type = "blob";
                        filename = "u-boot.itb";
+                       insert-template = <&common_part>;
 #else
                u-boot-img {
 #endif
-- 
2.43.0

Reply via email to