From 42fa7fe28b60b448f501e99ee285a0af12c86d34 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Wed, 20 Apr 2011 20:54:07 +0000 Subject: run uart_init() from console_init, just like the other console initialization functions. Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6531 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/console/console.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/console') diff --git a/src/console/console.c b/src/console/console.c index 3178562bb3..9ec0e259a9 100644 --- a/src/console/console.c +++ b/src/console/console.c @@ -22,6 +22,10 @@ #include #include +#if CONFIG_CONSOLE_SERIAL8250 +#include +#endif + #if CONFIG_CONSOLE_NE2K #include #endif @@ -99,6 +103,9 @@ void console_init(void) enable_usbdebug(CONFIG_USBDEBUG_DEFAULT_PORT); early_usbdebug_init(); #endif +#if CONFIG_CONSOLE_SERIAL8250 + uart_init(); +#endif #if CONFIG_CONSOLE_NE2K ne2k_init(CONFIG_CONSOLE_NE2K_IO_PORT); #endif -- cgit v1.2.3