]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
powerpc: mpc85xx: Fix CONFIG_OF_SEPARATE support for NOR booting
authorPali Rohár <pali@kernel.org>
Mon, 2 May 2022 16:36:38 +0000 (18:36 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 23 May 2022 13:33:10 +0000 (09:33 -0400)
Commit e8c0e0064c8a ("powerpc: mpc85xx: Fix CONFIG_OF_SEPARATE support")
fixed SD card booting on mpc85xx boards but broke NOR booting on these
boards. Reason is that U-Boot build system for NOR images uses binman and
this binman ignores alignment defined in linker script. Instead it has own
config file where is alignment defined.

Fix binman alignment for mpc85xx boards to match what is _now_ defined in
linker script.

This change fixes building of U-Boot for NOR booting on P2020 board.

Fixes: e8c0e0064c8a ("powerpc: mpc85xx: Fix CONFIG_OF_SEPARATE support")
Signed-off-by: Pali Rohár <pali@kernel.org>
arch/powerpc/dts/u-boot.dtsi

index 9661f4dc88d3ced93bd35a250262275f63f7ca0b..67de476a45ed74bd1532af731bf2143dc9c438a3 100644 (file)
@@ -20,7 +20,7 @@
 
                u-boot-dtb-with-ucode {
 #ifdef CONFIG_MPC85xx
-                       align = <256>;
+                       align = <4>;
 #endif
                };
 #ifdef CONFIG_MPC85XX_HAVE_RESET_VECTOR