aboutsummaryrefslogtreecommitdiff
path: root/tools/binman/test
diff options
context:
space:
mode:
authorSimon Glass2020-10-26 17:40:07 -0600
committerSimon Glass2020-10-29 14:42:59 -0600
commit9248c8d9c9674d705216e51161c1f0f473fc7fa3 (patch)
treeca3eb2b7b303a8449e63911b9711c6c5a8ed2e76 /tools/binman/test
parent87c962943aec7aef8849c60f018a5e7756e5b7ba (diff)
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>
Diffstat (limited to 'tools/binman/test')
-rw-r--r--tools/binman/test/085_files_compress.dts2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/binman/test/085_files_compress.dts b/tools/binman/test/085_files_compress.dts
index 847b398bf2b..5aeead2e6e9 100644
--- a/tools/binman/test/085_files_compress.dts
+++ b/tools/binman/test/085_files_compress.dts
@@ -5,7 +5,7 @@
binman {
files {
pattern = "files/*.dat";
- compress = "lz4";
+ files-compress = "lz4";
};
};
};