]> git.baikalelectronics.ru Git - uboot.git/commit
binman: Use 'files-compress' to set compression for files
authorSimon Glass <sjg@chromium.org>
Mon, 26 Oct 2020 23:40:07 +0000 (17:40 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 29 Oct 2020 20:42:59 +0000 (14:42 -0600)
commit6ef975c604fb59d33bc437b6879e040e06aa40b6
treeca3eb2b7b303a8449e63911b9711c6c5a8ed2e76
parenteae7b5d4b4ae4a01dd80090189e63b87c7fb8e39
binman: Use 'files-compress' to set compression for files

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@chromium.org>
tools/binman/README.entries
tools/binman/etype/files.py
tools/binman/etype/section.py
tools/binman/test/085_files_compress.dts