[PATCH v2 2/3] binman: Respect pad-before property of section subentries

Simon Glass sjg at chromium.org
Tue Sep 1 17:17:41 CEST 2020


On Mon, 31 Aug 2020 at 03:59, Alper Nebi Yasak <alpernebiyasak at gmail.com> wrote:
>
> 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 at gmail.com>
> ---
>
> Changes in v2:
> - Move section padding test to the end of file
> - Renumber test to accommodate for the first patch's new test
>
>  tools/binman/etype/section.py             |  2 +-
>  tools/binman/ftest.py                     |  8 +++++++
>  tools/binman/test/166_pad_in_sections.dts | 26 +++++++++++++++++++++++
>  3 files changed, 35 insertions(+), 1 deletion(-)
>  create mode 100644 tools/binman/test/166_pad_in_sections.dts

Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list