summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coreboot.org>2010-12-17 01:51:34 +0000
committerStefan Reinauer <stepan@openbios.org>2010-12-17 01:51:34 +0000
commit3817494e0829305694aee49480d3bcf13765928c (patch)
treeeb88a2d1b1a241b1e08e265820a943a81ceed884
parentf726602984de4a8376f7a6933166e51c6b49bd9c (diff)
downloadcoreboot-3817494e0829305694aee49480d3bcf13765928c.tar.xz
fix the tree again.
Signed-off-by: Stefan Reinauer <stepan@coreboot.org> Acked-by: Stefan Reinauer <stepan@coreboot.org> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6194 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r--src/include/console/console.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/include/console/console.h b/src/include/console/console.h
index 026d4bdff3..b2811e4547 100644
--- a/src/include/console/console.h
+++ b/src/include/console/console.h
@@ -54,6 +54,9 @@ extern int console_loglevel;
* we could use the same code on all architectures.
*/
#define console_loglevel CONFIG_DEFAULT_CONSOLE_LOGLEVEL
+#if CONFIG_CONSOLE_SERIAL8250
+#include <uart8250.h>
+#endif
#endif
#ifndef __ROMCC__
@@ -148,14 +151,15 @@ int do_printk(int msg_level, const char *fmt, ...) __attribute__((format(printf,
#define print_spew_hex32(HEX) printk(BIOS_SPEW, "%08x", (HEX))
#else
+/* __ROMCC__ */
+
#if CONFIG_CONSOLE_SERIAL8250
-#include "lib/uart8259.c"
+#include "lib/uart8250.c"
#endif
#if CONFIG_CONSOLE_NE2K
#include "lib/ne2k.c"
#endif
-/* __ROMCC__ */
static void __console_tx_byte(unsigned char byte)
{
#if CONFIG_CONSOLE_SERIAL8250