diff options
author | Joel Kitching <kitching@google.com> | 2018-07-18 13:23:52 +0800 |
---|---|---|
committer | Julius Werner <jwerner@chromium.org> | 2018-07-24 20:42:37 +0000 |
commit | 72d77a9a0c1030c872f0245ae7ed6e74b54abac0 (patch) | |
tree | 17aadeb6293b76c18b7b76ce2617d826bfbe3c4d /util/lint/spelling.txt | |
parent | 770b0346ff9428f13fda5fe8d42b718b0074f060 (diff) |
cbfstool/extract: ignore compression field for some payload segments
When extracting a payload from CBFS, ignore compression fields for
these types of payload segments:
- PAYLOAD_SEGMENT_ENTRY
- PAYLOAD_SEGMENT_BSS
- PAYLOAD_SEGMENT_PARAMS
These types of payload segments cannot be compressed, and in certain
cases are being erroneously labeled as compressed, causing errors
when extracting the payload.
For an example of this problem, see creation of PAYLOAD_SEGMENT_ENTRY
segments in cbfs-mkpayload.c, where the only field that is written to
is |load_addr|.
Also, add a linebreak to an ERROR line.
BUG=https://ticket.coreboot.org/issues/170
TEST=cbfstool tianocore.cbfs extract -m x86 -n payload -f /tmp/payload -v -v
Change-Id: I8c5c40205d648799ea577ad0c5bee6ec2dd7d05f
Signed-off-by: kitching@google.com
Reviewed-on: https://review.coreboot.org/27520
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util/lint/spelling.txt')
0 files changed, 0 insertions, 0 deletions