run uart_init() from console_init, just like the other console initialization functions.
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6531 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
committed by
Stefan Reinauer
parent
d8129f92c0
commit
42fa7fe28b
@ -22,6 +22,10 @@
|
||||
#include <arch/hlt.h>
|
||||
#include <arch/io.h>
|
||||
|
||||
#if CONFIG_CONSOLE_SERIAL8250
|
||||
#include <uart8250.h>
|
||||
#endif
|
||||
|
||||
#if CONFIG_CONSOLE_NE2K
|
||||
#include <console/ne2k.h>
|
||||
#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
|
||||
|
Reference in New Issue
Block a user