[coreboot-gerrit] Change in coreboot[master]: mb/scaleway/tagada: Implement console loglevel override using bmcInfo
Julien Viard de Galbert (Code Review)
gerrit at coreboot.org
Mon Feb 19 16:47:25 CET 2018
Julien Viard de Galbert has uploaded this change for review. ( https://review.coreboot.org/23814
Change subject: mb/scaleway/tagada: Implement console loglevel override using bmcInfo
......................................................................
mb/scaleway/tagada: Implement console loglevel override using bmcInfo
Change-Id: I0093cfafe7eaa4a4381e67c9b871fdf28abc470d
Signed-off-by: Julien Viard de Galbert <jviarddegalbert at online.net>
---
M src/mainboard/scaleway/tagada/Kconfig
M src/mainboard/scaleway/tagada/bmcinfo.c
2 files changed, 9 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/14/23814/1
diff --git a/src/mainboard/scaleway/tagada/Kconfig b/src/mainboard/scaleway/tagada/Kconfig
index e03728d..5045204 100644
--- a/src/mainboard/scaleway/tagada/Kconfig
+++ b/src/mainboard/scaleway/tagada/Kconfig
@@ -20,6 +20,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 e9761b6..d844347 100644
--- a/src/mainboard/scaleway/tagada/bmcinfo.c
+++ b/src/mainboard/scaleway/tagada/bmcinfo.c
@@ -153,3 +153,11 @@
return 0;
}
+#if __CONSOLE_ENABLE__
+/* Override default console loglevel */
+const int mainboard_override_console_loglevel(void)
+{
+ return bmcInfoCorebootVerbosityLevel();
+}
+#endif
+
--
To view, visit https://review.coreboot.org/23814
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I0093cfafe7eaa4a4381e67c9b871fdf28abc470d
Gerrit-Change-Number: 23814
Gerrit-PatchSet: 1
Gerrit-Owner: Julien Viard de Galbert <jviarddegalbert at online.net>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180219/dd539343/attachment.html>
More information about the coreboot-gerrit
mailing list