Maintain backward compatibility with pre-binman u-boot file naming,
the U-Boot fitImage used to be named u-boot.itb before, restore the
file name after binman conversion.

Signed-off-by: Marek Vasut <ma...@denx.de>
---
Cc: "NXP i.MX U-Boot Team" <uboot-...@nxp.com>
Cc: Fabio Estevam <feste...@gmail.com>
Cc: Marcel Ziswiler <marcel.ziswi...@toradex.com>
Cc: Peng Fan <peng....@nxp.com>
Cc: Rasmus Villemoes <rasmus.villem...@prevas.dk>
Cc: Stefano Babic <sba...@denx.de>
Cc: Tim Harvey <thar...@gateworks.com>
Cc: Tom Rini <tr...@konsulko.com>
Cc: u-boot@lists.denx.de
---
 arch/arm/dts/imx8mm-u-boot.dtsi | 1 +
 arch/arm/dts/imx8mn-u-boot.dtsi | 1 +
 arch/arm/dts/imx8mp-u-boot.dtsi | 1 +
 arch/arm/dts/imx8mq-u-boot.dtsi | 1 +
 4 files changed, 4 insertions(+)

diff --git a/arch/arm/dts/imx8mm-u-boot.dtsi b/arch/arm/dts/imx8mm-u-boot.dtsi
index c02e11def5f..d31bc822532 100644
--- a/arch/arm/dts/imx8mm-u-boot.dtsi
+++ b/arch/arm/dts/imx8mm-u-boot.dtsi
@@ -122,6 +122,7 @@
 
                        binman_imx_fit: fit {
                                description = "Configuration to load ATF before 
U-Boot";
+                               filename = "u-boot.itb";
 #ifndef CONFIG_IMX_HAB
                                fit,external-offset = 
<CONFIG_FIT_EXTERNAL_OFFSET>;
 #endif
diff --git a/arch/arm/dts/imx8mn-u-boot.dtsi b/arch/arm/dts/imx8mn-u-boot.dtsi
index 732191f5205..6875c6d44ff 100644
--- a/arch/arm/dts/imx8mn-u-boot.dtsi
+++ b/arch/arm/dts/imx8mn-u-boot.dtsi
@@ -193,6 +193,7 @@
 
                        binman_imx_fit: fit {
                                description = "Configuration to load ATF before 
U-Boot";
+                               filename = "u-boot.itb";
 #ifndef CONFIG_IMX_HAB
                                fit,external-offset = 
<CONFIG_FIT_EXTERNAL_OFFSET>;
 #endif
diff --git a/arch/arm/dts/imx8mp-u-boot.dtsi b/arch/arm/dts/imx8mp-u-boot.dtsi
index f2655a4d0c8..56749ccacd2 100644
--- a/arch/arm/dts/imx8mp-u-boot.dtsi
+++ b/arch/arm/dts/imx8mp-u-boot.dtsi
@@ -148,6 +148,7 @@
 
                        binman_imx_fit: fit {
                                description = "Configuration to load ATF before 
U-Boot";
+                               filename = "u-boot.itb";
 #ifndef CONFIG_IMX_HAB
                                fit,external-offset = 
<CONFIG_FIT_EXTERNAL_OFFSET>;
 #endif
diff --git a/arch/arm/dts/imx8mq-u-boot.dtsi b/arch/arm/dts/imx8mq-u-boot.dtsi
index 9b895a63857..d7a83a78f4d 100644
--- a/arch/arm/dts/imx8mq-u-boot.dtsi
+++ b/arch/arm/dts/imx8mq-u-boot.dtsi
@@ -106,6 +106,7 @@
 
                        binman_imx_fit: fit {
                                description = "Configuration to load ATF before 
U-Boot";
+                               filename = "u-boot.itb";
 #ifndef CONFIG_IMX_HAB
                                fit,external-offset = 
<CONFIG_FIT_EXTERNAL_OFFSET>;
 #endif
-- 
2.45.2

Reply via email to