diff options
author | Julien Viard de Galbert <jviarddegalbert@online.net> | 2018-03-07 15:50:22 +0100 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-03-07 21:10:50 +0000 |
commit | fad5c4465f601aa159cfbc5de00b7a0b8fc9e0ef (patch) | |
tree | d9ed2f0c028eaf91ac67e5dad39de410e1e7c144 /src | |
parent | 0e755d4f7a6458b6b12008d89a6c689a5b65a03c (diff) |
mb/scaleway/tagada: Implement console loglevel override using bmcInfo
Change-Id: I0093cfafe7eaa4a4381e67c9b871fdf28abc470d
Signed-off-by: Julien Viard de Galbert <jviarddegalbert@online.net>
Reviewed-on: https://review.coreboot.org/23814
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/mainboard/scaleway/tagada/Kconfig | 1 | ||||
-rw-r--r-- | src/mainboard/scaleway/tagada/bmcinfo.c | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/mainboard/scaleway/tagada/Kconfig b/src/mainboard/scaleway/tagada/Kconfig index ecce0df793..7b160e2d63 100644 --- a/src/mainboard/scaleway/tagada/Kconfig +++ b/src/mainboard/scaleway/tagada/Kconfig @@ -21,6 +21,7 @@ config BOARD_SPECIFIC_OPTIONS select SOC_INTEL_DENVERTON_NS select BOARD_ROMSIZE_KB_16384 select HAVE_ACPI_TABLES + select CONSOLE_OVERRIDE_LOGLEVEL config MAINBOARD_DIR string diff --git a/src/mainboard/scaleway/tagada/bmcinfo.c b/src/mainboard/scaleway/tagada/bmcinfo.c index 9eb2ef1d0b..9c58ac6b11 100644 --- a/src/mainboard/scaleway/tagada/bmcinfo.c +++ b/src/mainboard/scaleway/tagada/bmcinfo.c @@ -189,3 +189,11 @@ int bmcinfo_disable_nic1(void) } /* Add override functions below */ + +#if __CONSOLE_ENABLE__ +/* Override default console loglevel */ +int get_console_loglevel(void) +{ + return bmcinfo_coreboot_verbosity_level(); +} +#endif |