From 8320b9a99725ac8317486ed82b97adc5ae5db4a4 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Wed, 5 Jul 2017 13:28:24 +0200 Subject: [PATCH] util/cbfstool: demote not-ELF error to debug It's irritating when adding tianocore payloads - those are not ELF, but that's deliberate. Change-Id: I76d9367b28545348f526e5f0b8216f9ff2a3d636 Signed-off-by: Patrick Georgi Reviewed-on: https://review.coreboot.org/20468 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- util/cbfstool/elfheaders.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/cbfstool/elfheaders.c b/util/cbfstool/elfheaders.c index 0462d0a6d6..67f01d4df1 100644 --- a/util/cbfstool/elfheaders.c +++ b/util/cbfstool/elfheaders.c @@ -503,7 +503,7 @@ int parse_elf(const struct buffer *pinput, struct parsed_elf *pelf, int flags) memset(pelf, 0, sizeof(*pelf)); if (!iself(buffer_get(pinput))) { - ERROR("The stage file is not in ELF format!\n"); + DEBUG("The stage file is not in ELF format!\n"); return -1; }