[coreboot] New patch to review for coreboot: 0c5c75a Fix console.c with serial support disabled

Stefan Reinauer (stefan.reinauer@coreboot.org) gerrit at coreboot.org
Fri Jan 11 19:48:05 CET 2013


Stefan Reinauer (stefan.reinauer at coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/2136

-gerrit

commit 0c5c75a89375983e43c2b2fc24d393f11093b759
Author: Stefan Reinauer <stefan.reinauer at coreboot.org>
Date:   Fri Jan 11 10:46:55 2013 -0800

    Fix console.c with serial support disabled
    
    During the ARM port, disabling serial console became broken.
    This patch fixes it.
    
    Change-Id: I40460596073918a08c19bb9c991cada341cca940
    Signed-off-by: Stefan Reinauer <reinauer at google.com>
---
 src/console/console.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/console/console.c b/src/console/console.c
index ad8f217..4c47d7f 100644
--- a/src/console/console.c
+++ b/src/console/console.c
@@ -107,7 +107,7 @@ void console_init(void)
 	enable_usbdebug(CONFIG_USBDEBUG_DEFAULT_PORT);
 	early_usbdebug_init();
 #endif
-#if CONFIG_HAVE_UART_IO_MAPPED || CONFIG_HAVE_UART_MEMORY_MAPPED
+#if CONFIG_CONSOLE_SERIAL8250 || CONFIG_CONSOLE_SERIAL8250MEM
 	uart_init();
 #endif
 #if CONFIG_DRIVERS_OXFORD_OXPCIE && CONFIG_CONSOLE_SERIAL8250MEM



More information about the coreboot mailing list