From 3817494e0829305694aee49480d3bcf13765928c Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Fri, 17 Dec 2010 01:51:34 +0000 Subject: fix the tree again. Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6194 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/include/console/console.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src') 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 +#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 -- cgit v1.2.3