summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Menzel <pmenzel@molgen.mpg.de>2019-01-08 00:17:44 +0100
committerPatrick Georgi <pgeorgi@google.com>2019-01-17 13:19:53 +0000
commit5e44252735c2cc7d7144043303eba17d8c89e5c9 (patch)
tree23957424ecc33902f0ef8fceb982ecbdead93aed
parentdc8fd37966880d6e396e9168f030540f72cdafab (diff)
console/init: Print log level in coreboot banner
Sometimes, it’s not clear, what log level is configured (in Kconfig and CMOS), so print the log level in the banner. coreboot-4.9-354-gff6e99cebe Tue Jan 15 15:23:20 UTC 2019 bootblock starting (log level: 7)... Change-Id: I82c87ae90cd53fd47458fc6df3ef2c7f238f0f3d Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de> Reviewed-on: https://review.coreboot.org/c/30935 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
-rw-r--r--src/console/init.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/console/init.c b/src/console/init.c
index ff1d61639a..8aa7d7df68 100644
--- a/src/console/init.c
+++ b/src/console/init.c
@@ -83,6 +83,7 @@ asmlinkage void console_init(void)
car_set_var(console_inited, 1);
- printk(BIOS_NOTICE, "\n\ncoreboot-%s%s %s " ENV_STRING " starting...\n",
- coreboot_version, coreboot_extra_version, coreboot_build);
+ printk(BIOS_NOTICE, "\n\ncoreboot-%s%s %s " ENV_STRING " starting (log level: %i)...\n",
+ coreboot_version, coreboot_extra_version, coreboot_build,
+ get_log_level());
}