[PATCH 09/10] binman: Support alignment of files

Simon Glass sjg at chromium.org
Sat Jan 23 18:27:03 CET 2021


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 at chromium.org>
---

 tools/binman/etype/files.py           |  4 ++++
 tools/binman/ftest.py                 |  8 ++++++++
 tools/binman/state.py                 | 10 ++++++++++
 tools/binman/test/084_files.dts       |  2 +-
 tools/binman/test/190_files_align.dts | 12 ++++++++++++
 tools/dtoc/fdt.py                     | 12 ++++++++++++
 tools/dtoc/test_fdt.py                |  6 ++++++
 7 files changed, 53 insertions(+), 1 deletion(-)
 create mode 100644 tools/binman/test/190_files_align.dts

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list