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>
diff --git a/src/mainboard/scaleway/tagada/Kconfig b/src/mainboard/scaleway/tagada/Kconfig
index ecce0df..7b160e2 100644
--- a/src/mainboard/scaleway/tagada/Kconfig
+++ b/src/mainboard/scaleway/tagada/Kconfig
@@ -21,6 +21,7 @@
 	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 9eb2ef1..9c58ac6 100644
--- a/src/mainboard/scaleway/tagada/bmcinfo.c
+++ b/src/mainboard/scaleway/tagada/bmcinfo.c
@@ -189,3 +189,11 @@
 }
 
 /* Add override functions below */
+
+#if __CONSOLE_ENABLE__
+/* Override default console loglevel */
+int get_console_loglevel(void)
+{
+	return bmcinfo_coreboot_verbosity_level();
+}
+#endif