The linker script u-boot-spl.lds now
is no longer aligned and -nodtb.bin ending shows
the zeros are not 8 byte aligned. This result in
the Makefile.xpl simply think the previous file
is aligned and do not zero pad. simply fix the
data align to 8 can ensure the -nodtb.bin is aligned,
hence, the formation of u-boot-spl.bin properly align.

Signed-off-by: Brian Sune <[email protected]>
---
 arch/arm/cpu/u-boot-spl.lds | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/cpu/u-boot-spl.lds b/arch/arm/cpu/u-boot-spl.lds
index c578c3ebf82..18b0f1e7284 100644
--- a/arch/arm/cpu/u-boot-spl.lds
+++ b/arch/arm/cpu/u-boot-spl.lds
@@ -26,7 +26,7 @@ SECTIONS
        . = ALIGN(4);
        .rodata : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) }
 
-       . = ALIGN(4);
+       . = ALIGN(8);
        .data : {
                *(.data*)
        }
-- 
2.34.1

Reply via email to