Patchwork rename CONFIG_SERIAL_POST to CONFIG_CONSOLE_POST

login
register
about
Submitter Stefan Reinauer
Date 2011-01-28 02:15:55
Message ID <AANLkTiky0F5pY6foOP+gNMG0-j4eVzQU0AB46StGEmDN@mail.gmail.com>
Download mbox | patch
Permalink /patch/2570/
State Accepted
Commit r6311
Headers show

Comments

Stefan Reinauer - 2011-01-28 02:15:55
See patch.
Patrick Georgi - 2011-01-28 07:23:10
Am Donnerstag, den 27.01.2011, 18:15 -0800 schrieb Stefan Reinauer:
> See patch.

Acked-by: Patrick Georgi <patrick.georgi@secunet.com>

Patch

rename CONFIG_SERIAL_POST to CONFIG_CONSOLE_POST
because that is what it does.

Signed-off-by: Stefan Reinauer <reinauer@google.com>

Index: src/console/Kconfig
===================================================================
--- src/console/Kconfig	(revision 6293)
+++ src/console/Kconfig	(working copy)
@@ -326,14 +326,14 @@ 
 	bool "Don't show any POST codes"
 	default n
 
-config SERIAL_POST
-	bool "Show POST codes on the serial port console"
-	depends on CONSOLE_SERIAL8250 && !NO_POST
+config CONSOLE_POST
+	bool "Show POST codes on the debug console"
+	depends on !NO_POST
 	default n
 	help
 	  If enabled, coreboot will additionally print POST codes (which are
 	  usually displayed using a so-called "POST card" ISA/PCI/PCI-E
-	  device) on the serial console.
+	  device) on the debug console.
 
 endmenu
 
Index: src/console/post.c
===================================================================
--- src/console/post.c	(revision 6293)
+++ src/console/post.c	(working copy)
@@ -27,7 +27,7 @@ 
 void post_code(uint8_t value)
 {
 #if !defined(CONFIG_NO_POST) || CONFIG_NO_POST==0
-#if CONFIG_SERIAL_POST==1
+#if CONFIG_CONSOLE_POST==1
 	print_emerg("POST: 0x");
 	print_emerg_hex8(value);
 	print_emerg("\n");