diff options
author | Nico Huber <nico.h@gmx.de> | 2020-09-27 13:57:04 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-10-26 06:48:45 +0000 |
commit | 308c1b79768a0cb1c48a150f8a75da71dec99b5f (patch) | |
tree | 060cf02fa1ec95e1b069c26587974e35af5b9f22 /src/soc/intel/icelake | |
parent | e836d1121474c46c41a18425df421232ff3d3a21 (diff) |
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>
Diffstat (limited to 'src/soc/intel/icelake')
0 files changed, 0 insertions, 0 deletions