From 1855329fba6ba059bad6654544c7d1ab00b2470a Mon Sep 17 00:00:00 2001 From: Jacob Garber Date: Wed, 27 Mar 2019 12:02:38 -0600 Subject: lib/edid.c: Log an error if unable to find edid or header Failure to find an edid or header is more serious than the spew log level and should be an error. Signed-off-by: Jacob Garber Change-Id: I660218f8b5f5e7f0b01daef0739db79418941515 Reviewed-on: https://review.coreboot.org/c/coreboot/+/32084 Reviewed-by: Patrick Georgi Tested-by: build bot (Jenkins) --- src/lib/edid.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib') diff --git a/src/lib/edid.c b/src/lib/edid.c index 5925759a4c..d56099b9f9 100644 --- a/src/lib/edid.c +++ b/src/lib/edid.c @@ -1141,14 +1141,14 @@ int decode_edid(unsigned char *edid, int size, struct edid *out) memset(out, 0, sizeof(*out)); if (!edid) { - printk(BIOS_SPEW, "No EDID found\n"); + printk(BIOS_ERR, "No EDID found\n"); return EDID_ABSENT; } dump_breakdown(edid); if (memcmp(edid, "\x00\xFF\xFF\xFF\xFF\xFF\xFF\x00", 8)) { - printk(BIOS_SPEW, "No header found\n"); + printk(BIOS_ERR, "No header found\n"); return EDID_ABSENT; } -- cgit v1.2.3