From 912857ec6c0995281460260de8da9f19277eb2f3 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Sun, 3 Aug 2008 10:35:06 +0000 Subject: fix lots of warnings for cache as ram builds (trivial) Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3467 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/pc80/serial.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/pc80') diff --git a/src/pc80/serial.c b/src/pc80/serial.c index f8005da277..45e0ce09e2 100644 --- a/src/pc80/serial.c +++ b/src/pc80/serial.c @@ -91,8 +91,13 @@ static void uart_init(void) #endif outb(UART_LCS, TTYS0_BASE + UART_LCR); } + #else +/* CONFIG_USE_PRINTK_IN_CAR == 1 */ +#if CONFIG_USE_INIT == 0 #include "../lib/uart8250.c" +#endif + extern void uart8250_init(unsigned base_port, unsigned divisor, unsigned lcs); static void uart_init(void) { -- cgit v1.2.3