]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
mips: mtmips: align MT7621 image blobs to 8-byte boundary
authorShiji Yang <yangshiji66@outlook.com>
Sun, 12 Apr 2026 12:12:25 +0000 (20:12 +0800)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Wed, 6 May 2026 14:20:27 +0000 (16:20 +0200)
MT7621 doesn't boot on u-boot v2026.04. Fix it by correcting the
u-boot aligned offset.

Fixes: d9e183a04c92 ("MIPS: Assure end of U-Boot is at 8-byte aligned offset")
Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Reviewed-by: Weijie Gao <weijie.gao@mediatek.com>
arch/mips/dts/mt7621-u-boot.dtsi

index fbac2ade25ace8f33375285cc6e76844c8c1025f..a6e585a08534ece8e5753c880a3dcb905fd84306 100644 (file)
 
 &binman {
        u-boot-spl-ddr {
-               align = <4>;
-               align-size = <4>;
+               align = <8>;
+               align-size = <8>;
                filename = "u-boot-spl-ddr.bin";
                pad-byte = <0xff>;
 
                u-boot-spl {
-                       align-end = <4>;
+                       align-end = <8>;
                        filename = "u-boot-spl.bin";
                };
 
@@ -90,7 +90,7 @@
 
 #ifndef CONFIG_MT7621_BOOT_FROM_NAND
                u-boot-tpl {
-                       align-end = <4>;
+                       align-end = <8>;
                        filename = "u-boot-tpl.bin";
                };
 #endif