]> git.dujemihanovic.xyz Git - u-boot.git/commit
binman: Respect pad-before property of section subentries
authorAlper Nebi Yasak <alpernebiyasak@gmail.com>
Mon, 31 Aug 2020 09:58:19 +0000 (12:58 +0300)
committerSimon Glass <sjg@chromium.org>
Tue, 22 Sep 2020 18:50:43 +0000 (12:50 -0600)
commit3fdeb14d951b28fa18494b4c3f819ad33b5fcc09
tree52363fd0590e1115ffbd41eee6d530f2e75c952b
parent8001d0b162183493ee31b9e578756e450f673745
binman: Respect pad-before property of section subentries

Other relevant properties (pad-after, offset, size, align, align-size,
align-end) already work since Pack() sets correct ranges for subentries'
data (.offset, .size variables), but some padding here is necessary to
align the data within this range to match the pad-before property.

Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
tools/binman/etype/section.py
tools/binman/ftest.py
tools/binman/test/166_pad_in_sections.dts [new file with mode: 0644]