summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJacob Garber <jgarber1@ualberta.ca>2019-03-27 12:02:38 -0600
committerPatrick Georgi <pgeorgi@google.com>2019-03-29 06:35:23 +0000
commit1855329fba6ba059bad6654544c7d1ab00b2470a (patch)
treef0c0c85bc95a82bb43bece92065ec59015224052 /src
parent6a9d2f989975a63f569750113aa3b88255fb2bea (diff)
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 <jgarber1@ualberta.ca> Change-Id: I660218f8b5f5e7f0b01daef0739db79418941515 Reviewed-on: https://review.coreboot.org/c/coreboot/+/32084 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/lib/edid.c4
1 files changed, 2 insertions, 2 deletions
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;
}