diff options
author | Julius Werner <jwerner@chromium.org> | 2020-10-23 19:19:32 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-11-25 09:16:45 +0000 |
commit | 105cdf562567e935d318673556b0e9f7b1ce9cf3 (patch) | |
tree | 11fcffcde8d0ff8ef163584c6d91a60faf110918 /util/fuzz-tests | |
parent | d87a84830e7ef3d9d2e2f6df614bef03d5becd55 (diff) |
cbfstool: Don't add compression attribute for uncompressed files
Our current cbfstool has always added a compression attribute to the
CBFS file header for all files that used the cbfstool_convert_raw()
function (basically anything other than a stage or payload), even if the
compression type was NONE. This was likely some sort of oversight, since
coreboot CBFS reading code has always accepted the absence of a
compression attribute to mean "no compression". This patch fixes the
behavior to avoid adding the attribute in these cases.
Change-Id: Ic4a41152db9df66376fa26096d6f3a53baea51de
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/46835
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'util/fuzz-tests')
0 files changed, 0 insertions, 0 deletions