binman: Support default alignment for sections
authorSimon Glass <sjg@chromium.org>
Sun, 21 Mar 2021 05:24:33 +0000 (18:24 +1300)
committerSimon Glass <sjg@chromium.org>
Sat, 27 Mar 2021 03:26:48 +0000 (16:26 +1300)
commit5ff9fedc9bc02e01d73d57e9c7d7eac9fd6320d4
tree0fc99fe53f99d7f97011a990ddf452454ad7b15b
parent631f752de5b8dccbf9a0d4824213e9e6e0d96167
binman: Support default alignment for sections

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@chromium.org>
tools/binman/binman.rst
tools/binman/entries.rst
tools/binman/entry.py
tools/binman/etype/cbfs.py
tools/binman/etype/mkimage.py
tools/binman/etype/section.py
tools/binman/ftest.py
tools/binman/test/200_align_default.dts [new file with mode: 0644]