summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@google.com>2017-07-05 13:30:37 +0200
committerPatrick Georgi <pgeorgi@google.com>2017-07-07 09:01:29 +0000
commit50bda05e46d5f34f6519a7814e843d1e777ecf10 (patch)
tree4be0443a320db3caa8009c7bc7386d624c84ae96
parent8320b9a99725ac8317486ed82b97adc5ae5db4a4 (diff)
util/cbfstool: demote FV handling errors to debug
It's rather normal that a few bytes are skipped. Change-Id: I9371afdbb3ad05de7645bfbf257e4f4bfa2feddb Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: https://review.coreboot.org/20469 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
-rw-r--r--util/cbfstool/cbfs-mkpayload.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/cbfstool/cbfs-mkpayload.c b/util/cbfstool/cbfs-mkpayload.c
index 45d36f4afe..fd2c4ca011 100644
--- a/util/cbfstool/cbfs-mkpayload.c
+++ b/util/cbfstool/cbfs-mkpayload.c
@@ -320,7 +320,7 @@ int parse_fv_to_payload(const struct buffer *input, struct buffer *output,
fh = (ffs_file_header_t *)(input->data + fv->header_length);
while (fh->file_type == FILETYPE_PAD) {
unsigned long offset = (fh->size[2] << 16) | (fh->size[1] << 8) | fh->size[0];
- ERROR("skipping %lu bytes of FV padding\n", offset);
+ DEBUG("skipping %lu bytes of FV padding\n", offset);
fh = (ffs_file_header_t *)(((uintptr_t)fh) + offset);
}
if (fh->file_type != FILETYPE_SEC) {
@@ -332,7 +332,7 @@ int parse_fv_to_payload(const struct buffer *input, struct buffer *output,
cs = (common_section_header_t *)&fh[1];
while (cs->section_type == SECTION_RAW) {
unsigned long offset = (cs->size[2] << 16) | (cs->size[1] << 8) | cs->size[0];
- ERROR("skipping %lu bytes of section padding\n", offset);
+ DEBUG("skipping %lu bytes of section padding\n", offset);
cs = (common_section_header_t *)(((uintptr_t)cs) + offset);
}
if (cs->section_type != SECTION_PE32) {