From da712f3f45bf27dc7326887c2d38cc7599f7448a Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Wed, 5 Jan 2011 02:40:53 +0000 Subject: uart_init is only used in romstage. Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6245 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/lib/uart8250.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/lib') diff --git a/src/lib/uart8250.c b/src/lib/uart8250.c index fbdf4ac843..28989b24ee 100644 --- a/src/lib/uart8250.c +++ b/src/lib/uart8250.c @@ -103,6 +103,7 @@ void init_uart8250(unsigned base_port, struct uart8250 *uart) } #endif +#ifdef __PRE_RAM__ void uart_init(void) { #if CONFIG_USE_OPTION_TABLE @@ -117,4 +118,4 @@ void uart_init(void) uart8250_init(CONFIG_TTYS0_BASE, CONFIG_TTYS0_DIV); #endif } - +#endif -- cgit v1.2.3