binman: Support alignment of files
authorSimon Glass <sjg@chromium.org>
Thu, 7 Jan 2021 04:35:18 +0000 (21:35 -0700)
committerSimon Glass <sjg@chromium.org>
Sat, 30 Jan 2021 21:25:41 +0000 (14:25 -0700)
commit6eb9932668fa6bd8c659484b2d18d8a73713208c
tree6c4b726aaceedc0f28c522457dc14438a86316e9
parent5af9ebc4bcbcca91b21257c18cb94c78e7356980
binman: Support alignment of files

When packing files it is sometimes useful to align the start of each file,
e.g. if the flash driver can only access 32-bit-aligned data. Provides a
new property to support this.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/etype/files.py
tools/binman/ftest.py
tools/binman/state.py
tools/binman/test/084_files.dts
tools/binman/test/190_files_align.dts [new file with mode: 0644]
tools/dtoc/fdt.py
tools/dtoc/test_fdt.py