4ecd42f9b5
This change adds a config option to allow mainboard to override the console loglevel. When the option is set, the platform has to define the function get_console_loglevel returning a valid loglevel value. This allows a mainboard to sample a GPIO to switch the loglevel value between different environments (qualification vs production) without re-flashing. Change-Id: Id6cc72b8fe5c4c50a6f83ce80e6440b078eec6e2 Signed-off-by: Julien Viard de Galbert <jviarddegalbert@online.net> Reviewed-on: https://review.coreboot.org/23712 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com> Reviewed-by: Nico Huber <nico.h@gmx.de> |
||
---|---|---|
.. | ||
console.c | ||
die.c | ||
early_print.c | ||
hw-debug_sink.adb | ||
hw-debug_sink.ads | ||
init.c | ||
Kconfig | ||
Makefile.inc | ||
post.c | ||
printk.c | ||
vsprintf.c | ||
vtxprintf.c |