]> git.dujemihanovic.xyz Git - u-boot.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)
commit70ab7b1799112398047be63cc113f93955f0f352
treea350ab336e7b2160df046be1d840eb9969abe22f
parent1c11b5e6f67ca5aeb2d61e198298ed655311070e
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