Paul Menzel has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/30935
Change subject: console/init: Print log level in coreboot banner ......................................................................
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 --- M src/console/init.c 1 file changed, 3 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/35/30935/1
diff --git a/src/console/init.c b/src/console/init.c index 0bafdbe..0a2c275 100644 --- a/src/console/init.c +++ b/src/console/init.c @@ -84,6 +84,7 @@
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()); }