From: Fabio Estevam <festevam@gmail.com>
Date: Mon, 9 Sep 2024 19:30:03 +0000 (-0300)
Subject: imx8mq-u-boot: Pass FIT offset to fix boot regression
X-Git-Tag: v2025.01-rc5-pxa1908~316^2
X-Git-Url: http://git.dujemihanovic.xyz/contact?a=commitdiff_plain;h=9d921355d942091f24269602ca464864cb0719f3;p=u-boot.git

imx8mq-u-boot: Pass FIT offset to fix boot regression

Since commit 37e50627efac ("ARM: dts: imx: Convert i.MX8M flash.bin
image generation to binman") the imx8mq-evk fails to boot:

U-Boot SPL 2024.10-rc4 (Sep 09 2024 - 16:08:22 -0300)
PMIC:  PFUZE100 ID=0x10
SEC0:  RNG instantiated
Normal Boot
Trying to boot from MMC2

Fix it by passing the offset property for the FIT image, just like
it is done on i.MX8MM.

Fixes: 37e50627efac ("ARM: dts: imx: Convert i.MX8M flash.bin image generation to binman")
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Acked-by: Marek Vasut <marex@denx.de>
---

diff --git a/arch/arm/dts/imx8mq-u-boot.dtsi b/arch/arm/dts/imx8mq-u-boot.dtsi
index e1cd6f8996..9b895a6385 100644
--- a/arch/arm/dts/imx8mq-u-boot.dtsi
+++ b/arch/arm/dts/imx8mq-u-boot.dtsi
@@ -111,6 +111,8 @@
 #endif
 				#address-cells = <1>;
 
+				offset = <0x57c00>;
+
 				images {
 					uboot {
 						arch = "arm64";