]> git.baikalelectronics.ru Git - uboot.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)
commit41e6d14a1d88137003dd97c8431024b5e220cd29
tree52363fd0590e1115ffbd41eee6d530f2e75c952b
parent604e95858ed76824085322ac42efc534f54ccf0c
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]