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 <uwe.poeche@siemens.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/61973
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Uwe Poeche 2022-02-15 14:13:34 +01:00 committed by Felix Held
parent 5fbbd8196b
commit eee62c1537
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}