From 8d05322b68471b782cd239acd3a4ac4241eddab3 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Fri, 11 Jan 2013 10:46:55 -0800 Subject: 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 Reviewed-on: http://review.coreboot.org/2136 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- 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 ad8f217fe8..4c47d7f716 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 -- cgit v1.2.3