summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorStefan Reinauer <stefan.reinauer@coreboot.org>2011-04-20 01:08:25 +0000
committerStefan Reinauer <stepan@openbios.org>2011-04-20 01:08:25 +0000
commitb297b4901a5e7dd0aa037b184329a0e96722149e (patch)
tree70c1f026eb451d914d50b81f3a42f7c3eb6138f0 /src/lib
parent012d867f731386309c5678d0d6636e4040b411c5 (diff)
drop dead uart init code.
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6523 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/uart8250.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/lib/uart8250.c b/src/lib/uart8250.c
index 8149b03aa6..8c8eed8a11 100644
--- a/src/lib/uart8250.c
+++ b/src/lib/uart8250.c
@@ -86,23 +86,6 @@ void uart8250_init(unsigned base_port, unsigned divisor)
outb(CONFIG_TTYS0_LCS, base_port + UART_LCR);
}
-#ifndef __ROMCC__
-/* Initialize a generic uart */
-void init_uart8250(unsigned base_port, struct uart8250 *uart)
-{
- int divisor = uart->baud ? (115200/uart->baud) : 1;
-
- if (base_port == CONFIG_TTYS0_BASE) {
- /* Don't reinitialize the console serial port,
- * This is espeically nasty in SMP.
- * NOTE: The first invocation thus always needs to be
- */
- return;
- }
- uart8250_init(base_port, divisor);
-}
-#endif
-
#if defined(__PRE_RAM__) || defined(__SMM__)
void uart_init(void)
{