coreboot-kgpe-d16/src/console
Nico Huber 308c1b7976 console/init: Drop CONSOLE_LEVEL_CONST
We limited the configurability of the debug level to stages that have
a `.data` section. This is not really a requirement, because a `.bss`
section should suffice and we always have that now.

We want to make the debug level configurable early but also want to
avoid calling get_option() early, as an error therein could result
in no console output at all. Hence, we compromise and start using
get_option() from the second console init on.

TEST=Booted QEMU once with `debug_level=Debug` and once with
     `debug_level=Notice`. On the second boot, most messages
     vanished for all stages but the bootblock.

Change-Id: I11484fc32dcbba8d31772bd0b82785f17b2fba11
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/45765
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Marc Jones <marc@marcjonesconsulting.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2020-10-26 06:48:45 +00:00
..
Kconfig src: Rename EM100Pro-specific SPI console Kconfig option 2020-10-13 08:40:52 +00:00
Makefile.inc
console.c
die.c
hw-debug_sink.adb
hw-debug_sink.ads
init.c console/init: Drop CONSOLE_LEVEL_CONST 2020-10-26 06:48:45 +00:00
post.c
printk.c
vsprintf.c
vtxprintf.c