From 5a835161a24e08e35962f3e5737d042056679655 Mon Sep 17 00:00:00 2001 From: Julius Werner Date: Mon, 7 Feb 2022 16:35:42 -0800 Subject: [PATCH] console/post: Lower post code loglevel to BIOS_INFO Post codes don't signify an emergency error, so they shouldn't be classified as BIOS_EMERG. Now that loglevels are more visible, this misclassification looks pretty glaring. This patch changes them to BIOS_INFO which seems more appropriate for an informational code that is expected to occur in the normal boot flow. Signed-off-by: Julius Werner Change-Id: I85c8768232ae0cbf65669a7ee6abd538a3b2d5e1 Reviewed-on: https://review.coreboot.org/c/coreboot/+/61692 Tested-by: build bot (Jenkins) Reviewed-by: Raul Rangel --- src/console/post.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/console/post.c b/src/console/post.c index 21ab00084a..1d99a2e9dd 100644 --- a/src/console/post.c +++ b/src/console/post.c @@ -19,7 +19,7 @@ void post_code(uint8_t value) arch_post_code(value); if (CONFIG(CONSOLE_POST)) - printk(BIOS_EMERG, "POST: 0x%02x\n", value); + printk(BIOS_INFO, "POST: 0x%02x\n", value); mainboard_post(value); }