projects
/
coreboot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
run uart_init() from console_init, just like the other console initialization functions.
[coreboot.git]
/
src
/
console
/
console.c
diff --git
a/src/console/console.c
b/src/console/console.c
index 3178562bb342fb8185fec001c5d22e2ebed28aac..9ec0e259a93362881ba7bfd3e34cd654245f2376 100644
(file)
--- a/
src/console/console.c
+++ b/
src/console/console.c
@@
-22,6
+22,10
@@
#include <arch/hlt.h>
#include <arch/io.h>
#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
#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
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
#if CONFIG_CONSOLE_NE2K
ne2k_init(CONFIG_CONSOLE_NE2K_IO_PORT);
#endif