[PATCH 05/11] binman: Support default alignment for sections

Simon Glass sjg at chromium.org
Sat Mar 27 06:19:56 CET 2021


Sometimes it is useful to specify the default alignment for all entries
in a section, such as when word-alignment is necessary, for example. It
is tedious and error-prone to specify this individually for each section.

Add a property to control this for a section.

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

 tools/binman/binman.rst                 |  7 ++++++
 tools/binman/entries.rst                |  2 ++
 tools/binman/entry.py                   |  2 ++
 tools/binman/etype/cbfs.py              |  1 +
 tools/binman/etype/mkimage.py           |  1 +
 tools/binman/etype/section.py           |  3 +++
 tools/binman/ftest.py                   | 12 ++++++++++
 tools/binman/test/200_align_default.dts | 30 +++++++++++++++++++++++++
 8 files changed, 58 insertions(+)
 create mode 100644 tools/binman/test/200_align_default.dts

Applied to u-boot-dm/next, thanks!


More information about the U-Boot mailing list