[coreboot-gerrit] New patch to review for coreboot: 4570ef1 src/console/Kconfig: Default loglevel to 7 or 5 if desired

Martin Roth (gaumless@gmail.com) gerrit at coreboot.org
Fri Jul 25 23:39:32 CEST 2014


Martin Roth (gaumless at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6366

-gerrit

commit 4570ef159e93412deea5fde60f9910295448df1c
Author: Martin Roth <martin.roth at se-eng.com>
Date:   Fri Jul 25 15:25:07 2014 -0600

    src/console/Kconfig: Default loglevel to 7 or 5 if desired
    
    coreboot has the default loglevel set to spew.  This change allows
    the platform to set the default loglevel to 7 (Debug) or 5 (Notice).
    
    Change-Id: Ibdddb05b22273a18d2eaf2f609127fad46aa3a7f
    Signed-off-by: Martin Roth <martin.roth at se-eng.com>
---
 src/console/Kconfig | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/src/console/Kconfig b/src/console/Kconfig
index 710cc6e..55cf3de 100644
--- a/src/console/Kconfig
+++ b/src/console/Kconfig
@@ -211,6 +211,8 @@ config CONSOLE_QEMU_DEBUGCON_PORT
 
 choice
 	prompt "Default console log level"
+ 	default DEFAULT_CONSOLE_LOGLEVEL_5 if DEFAULT_DEFAULT_CONSOLE_LOGLEVEL_5
+ 	default DEFAULT_CONSOLE_LOGLEVEL_7 if DEFAULT_DEFAULT_CONSOLE_LOGLEVEL_7
 	default DEFAULT_CONSOLE_LOGLEVEL_8
 
 config DEFAULT_CONSOLE_LOGLEVEL_8
@@ -252,6 +254,18 @@ config DEFAULT_CONSOLE_LOGLEVEL_0
 
 endchoice
 
+config DEFAULT_DEFAULT_CONSOLE_LOGLEVEL_5
+	bool
+	default n
+	help
+	  Set the default for the default loglevel to Notice
+
+config DEFAULT_DEFAULT_CONSOLE_LOGLEVEL_7
+	bool
+	default n
+	help
+	  Set the default for the default loglevel to Debug
+
 config DEFAULT_CONSOLE_LOGLEVEL
 	int
 	default 0 if DEFAULT_CONSOLE_LOGLEVEL_0



More information about the coreboot-gerrit mailing list