From eee62c153774e503ceeba08aedacd03411755250 Mon Sep 17 00:00:00 2001 From: Uwe Poeche Date: Tue, 15 Feb 2022 14:13:34 +0100 Subject: [PATCH] drivers/mrc_cache/mrc_cache.c: Change loglevels Since commit 7cd8ba6eda (console: Add loglevel prefix to interactive consoles) on the very first boot some errors occur because no MRC data is present in the MRC cache. This is normal because the memory training is not done yet. This patch changes the loglevel to BIOS_NOTICE which will prevent an error in the log in this case. Change-Id: I1e36590e33507515e5b9dd4eb361b3dbe165511e Signed-off-by: Uwe Poeche Reviewed-on: https://review.coreboot.org/c/coreboot/+/61973 Reviewed-by: Angel Pons Tested-by: build bot (Jenkins) --- src/drivers/mrc_cache/mrc_cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/mrc_cache/mrc_cache.c b/src/drivers/mrc_cache/mrc_cache.c index 841c97ea3d..473d78c9a2 100644 --- a/src/drivers/mrc_cache/mrc_cache.c +++ b/src/drivers/mrc_cache/mrc_cache.c @@ -255,7 +255,7 @@ static int mrc_cache_get_latest_slot_info(const char *name, /* No data to return. */ if (region_file_data(cache_file, rdev) < 0) { - printk(BIOS_ERR, "MRC: no data in '%s'\n", name); + printk(BIOS_NOTICE, "MRC: no data in '%s'\n", name); return fail_bad_data ? -1 : 0; }