[coreboot] [commit] r6245 - trunk/src/lib

repository service svn at coreboot.org
Wed Jan 5 03:40:53 CET 2011


Author: stepan
Date: Wed Jan  5 03:40:53 2011
New Revision: 6245
URL: https://tracker.coreboot.org/trac/coreboot/changeset/6245

Log:
uart_init is only used in romstage.

Signed-off-by: Stefan Reinauer <stepan at coreboot.org>
Acked-by: Stefan Reinauer <stepan at coreboot.org>

Modified:
   trunk/src/lib/uart8250.c

Modified: trunk/src/lib/uart8250.c
==============================================================================
--- trunk/src/lib/uart8250.c	Wed Jan  5 03:27:53 2011	(r6244)
+++ trunk/src/lib/uart8250.c	Wed Jan  5 03:40:53 2011	(r6245)
@@ -103,6 +103,7 @@
 }
 #endif
 
+#ifdef __PRE_RAM__
 void uart_init(void)
 {
 #if CONFIG_USE_OPTION_TABLE
@@ -117,4 +118,4 @@
 	uart8250_init(CONFIG_TTYS0_BASE, CONFIG_TTYS0_DIV);
 #endif
 }
-
+#endif




More information about the coreboot mailing list