diff options
author | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2013-01-11 10:46:55 -0800 |
---|---|---|
committer | Ronald G. Minnich <rminnich@gmail.com> | 2013-01-11 20:03:30 +0100 |
commit | 8d05322b68471b782cd239acd3a4ac4241eddab3 (patch) | |
tree | b20880e8264bce913b1ffe46c1fcd6c34ffb97e7 /src/console | |
parent | b8ad2244686a801a96326d8075526d9b701ad982 (diff) |
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@google.com>
Reviewed-on: http://review.coreboot.org/2136
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/console')
-rw-r--r-- | src/console/console.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |