From: Simon Glass Date: Sat, 15 Nov 2014 01:18:19 +0000 (-0700) Subject: Align embedded device tree correctly X-Git-Tag: v2015.01-rc3~42^2~53 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5c30bf435fb91de55c333516fc47415db9701bb7;p=u-boot Align embedded device tree correctly Device trees must be aligned to a 4-byte boundary. This was dropped in the Kbuild conversion. Bring it back, and use 16-byte alignment for good measure. Signed-off-by: Simon Glass --- diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index 9d1383a38f..13af604e5f 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -260,11 +260,13 @@ quiet_cmd_dt_S_dtb= DTB $@ cmd_dt_S_dtb= \ ( \ echo '.section .dtb.init.rodata,"a"'; \ + echo '.balign 16'; \ echo '.global __dtb_$(*F)_begin'; \ echo '__dtb_$(*F)_begin:'; \ echo '.incbin "$<" '; \ echo '__dtb_$(*F)_end:'; \ echo '.global __dtb_$(*F)_end'; \ + echo '.balign 16'; \ ) > $@ $(obj)/%.dtb.S: $(obj)/%.dtb