summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Poeche <uwe.poeche@siemens.com>2022-02-15 14:13:34 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-02-23 15:05:12 +0000
commiteee62c153774e503ceeba08aedacd03411755250 (patch)
treeeb95e848cde4646a08337847c4a2d82a3822562e
parent5fbbd8196b99a5f3f91160f5f94b9d4960d39201 (diff)
downloadcoreboot-eee62c153774e503ceeba08aedacd03411755250.tar.gz
coreboot-eee62c153774e503ceeba08aedacd03411755250.tar.bz2
coreboot-eee62c153774e503ceeba08aedacd03411755250.zip
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>
-rw-r--r--src/drivers/mrc_cache/mrc_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/mrc_cache/mrc_cache.c b/src/drivers/mrc_cache/mrc_cache.c
index 841c97ea3df2..473d78c9a255 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;
}