[PATCH v2 09/28] binman: Use 'files-compress' to set compression for files

Simon Glass sjg at chromium.org
Fri Oct 30 04:34:02 CET 2020


At present we use 'compress' as the property to set the compression of
a 'files' entry. But this conflicts with the same property for entries,
of which Entry_section is a subclass.

Strictly speaking, since Entry_files is in fact a subclass of
Entry_section, the files can be compressed individually but also the
section (that contains all the files) can itself be compressed. With this
change, it is possible to express that.

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

(no changes since v1)

 tools/binman/README.entries              | 2 +-
 tools/binman/etype/files.py              | 7 ++++---
 tools/binman/etype/section.py            | 4 ++--
 tools/binman/test/085_files_compress.dts | 2 +-
 4 files changed, 8 insertions(+), 7 deletions(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list