coreboot-kgpe-d16/src/console
Julien Viard de Galbert 4ecd42f9b5 console: Introduce a way for mainboard to override the loglevel
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>
2018-02-23 08:44:59 +00:00
..
console.c src/console: add IS_ENABLED() around Kconfig symbol references 2017-06-12 04:08:55 +02:00
die.c console: Add weak method to notify about death 2017-08-14 11:01:41 +00:00
early_print.c src/console: Add required space before opening parenthesis '(' 2016-08-31 20:06:20 +02:00
hw-debug_sink.adb Hook up libhwbase in ramstage 2016-11-29 23:45:40 +01:00
hw-debug_sink.ads Hook up libhwbase in ramstage 2016-11-29 23:45:40 +01:00
init.c console: Introduce a way for mainboard to override the loglevel 2018-02-23 08:44:59 +00:00
Kconfig console: Introduce a way for mainboard to override the loglevel 2018-02-23 08:44:59 +00:00
Makefile.inc console: Make snprintf available in all stages 2017-04-24 19:25:21 +02:00
post.c src/console: add IS_ENABLED() around Kconfig symbol references 2017-06-12 04:08:55 +02:00
printk.c console: Enable do_printk_va_list for VBOOT 2016-12-27 18:07:39 +01:00
vsprintf.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
vtxprintf.c src: add IS_ENABLED() around Kconfig symbol references 2017-07-13 23:57:07 +00:00