fix the tree again.
authorStefan Reinauer <stepan@coreboot.org>
Fri, 17 Dec 2010 01:51:34 +0000 (01:51 +0000)
committerStefan Reinauer <stepan@openbios.org>
Fri, 17 Dec 2010 01:51:34 +0000 (01:51 +0000)
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

src/include/console/console.h

index 026d4bdff37583b1bdbee4af0b24c902e6d42ce8..b2811e4547da9e93526a0ad4b0598ac3b5b50087 100644 (file)
@@ -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