Skip to content
Snippets Groups Projects
Commit 5c30bf43 authored by Simon Glass's avatar Simon Glass
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
parent 803f2eb2
No related branches found
No related tags found
No related merge requests found
...@@ -260,11 +260,13 @@ quiet_cmd_dt_S_dtb= DTB $@ ...@@ -260,11 +260,13 @@ quiet_cmd_dt_S_dtb= DTB $@
cmd_dt_S_dtb= \ cmd_dt_S_dtb= \
( \ ( \
echo '.section .dtb.init.rodata,"a"'; \ echo '.section .dtb.init.rodata,"a"'; \
echo '.balign 16'; \
echo '.global __dtb_$(*F)_begin'; \ echo '.global __dtb_$(*F)_begin'; \
echo '__dtb_$(*F)_begin:'; \ echo '__dtb_$(*F)_begin:'; \
echo '.incbin "$<" '; \ echo '.incbin "$<" '; \
echo '__dtb_$(*F)_end:'; \ echo '__dtb_$(*F)_end:'; \
echo '.global __dtb_$(*F)_end'; \ echo '.global __dtb_$(*F)_end'; \
echo '.balign 16'; \
) > $@ ) > $@
$(obj)/%.dtb.S: $(obj)/%.dtb $(obj)/%.dtb.S: $(obj)/%.dtb
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment