Uwe Poeche has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/61973 )
Change subject: drivers/mrc_cache/mrc_cache.c: change loglevels ......................................................................
drivers/mrc_cache/mrc_cache.c: change loglevels
Since change 7cd8ba6(add loglevel prefix to console output) on the very first boot some errors occur because no MRC data is contained. This is normal because the memory training is not done yet. Before the change maximal "failed" was contained in the output.
This patch changes the loglevel of the relevant messages to prevent errors on very first boot.
Change-Id: I1e36590e33507515e5b9dd4eb361b3dbe165511e Signed-off-by: Uwe Poeche uwe.poeche@siemens.com --- M src/drivers/mrc_cache/mrc_cache.c 1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/73/61973/1
diff --git a/src/drivers/mrc_cache/mrc_cache.c b/src/drivers/mrc_cache/mrc_cache.c index 841c97e..a7f9dcf 100644 --- a/src/drivers/mrc_cache/mrc_cache.c +++ b/src/drivers/mrc_cache/mrc_cache.c @@ -153,7 +153,7 @@ cr = lookup_region_type(type);
if (cr == NULL) { - printk(BIOS_ERR, "MRC: failed to locate region type %d.\n", + printk(BIOS_NOTICE, "MRC: failed to locate region type %d.\n", type); return NULL; } @@ -255,7 +255,7 @@
/* 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; }