]> git.baikalelectronics.ru Git - uboot.git/commit
fdtgrep: Correct alignment of struct section
authorSimon Glass <sjg@chromium.org>
Wed, 8 Dec 2021 16:55:34 +0000 (09:55 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 17 Dec 2021 16:44:59 +0000 (09:44 -0700)
commitbb104790661f95ed84e1cd88bdace97ba2df2f2d
treea350ab336e7b2160df046be1d840eb9969abe22f
parent316a050432b394a8980a72f350d7f22d91d1f527
fdtgrep: Correct alignment of struct section

When outputting a devicetree we should not align the struct section to a
16-byte boundary. The normal position is fine, which is 8-byte aligned.

This avoids leaving adding 8 extra zero bytes in the output tree in the
case where the reserved section is empty (i.e has 16 zero bytes).

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/fdtgrep.c