projects
/
coreboot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add support for memory mapped UARTs to coreboot and add the OXPCIe952 as an
[coreboot.git]
/
src
/
console
/
console.c
diff --git
a/src/console/console.c
b/src/console/console.c
index 9ec0e259a93362881ba7bfd3e34cd654245f2376..a73616e9488aac6dddbd47f9697bb240a11f26aa 100644
(file)
--- a/
src/console/console.c
+++ b/
src/console/console.c
@@
-22,7
+22,7
@@
#include <arch/hlt.h>
#include <arch/io.h>
#include <arch/hlt.h>
#include <arch/io.h>
-#if CONFIG_CONSOLE_SERIAL8250
+#if CONFIG_CONSOLE_SERIAL8250
|| CONFIG_CONSOLE_SERIAL8250MEM
#include <uart8250.h>
#endif
#include <uart8250.h>
#endif
@@
-106,6
+106,9
@@
void console_init(void)
#if CONFIG_CONSOLE_SERIAL8250
uart_init();
#endif
#if CONFIG_CONSOLE_SERIAL8250
uart_init();
#endif
+#if CONFIG_DRIVERS_OXFORD_OXPCIE && CONFIG_CONSOLE_SERIAL8250MEM
+ oxford_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