summaryrefslogtreecommitdiffstats
path: root/arch/mips/cobalt/console.c
diff options
context:
space:
mode:
authorYoichi Yuasa <yuasa@linux-mips.org>2010-02-08 21:01:22 +0900
committerRalf Baechle <ralf@linux-mips.org>2013-10-29 21:24:38 +0100
commit8a8594a738e2e6abcfb9370629ed95035505668f (patch)
tree0fce111c7a42134862a604f3a6c919a400640c5b /arch/mips/cobalt/console.c
parent7cd93b893567906d9c9e9e1121667600b4cebbaf (diff)
downloadlinux-8a8594a738e2e6abcfb9370629ed95035505668f.tar.bz2
MIPS: Cobalt: Move to 8250/16550 serial early printk driver
Signed-off-by: Yoichi Yuasa <yuasa@linux-mips.org> Cc: linux-mips <linux-mips@linux-mips.org> Patchwork: https://patchwork.linux-mips.org/patch/948/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/cobalt/console.c')
-rw-r--r--arch/mips/cobalt/console.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/arch/mips/cobalt/console.c b/arch/mips/cobalt/console.c
deleted file mode 100644
index d1ba701c9dd1..000000000000
--- a/arch/mips/cobalt/console.c
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * (C) P. Horton 2006
- */
-#include <linux/io.h>
-#include <linux/serial_reg.h>
-
-#include <cobalt.h>
-
-#define UART_BASE ((void __iomem *)CKSEG1ADDR(0x1c800000))
-
-void prom_putchar(char c)
-{
- if (cobalt_board_id <= COBALT_BRD_ID_QUBE1)
- return;
-
- while (!(readb(UART_BASE + UART_LSR) & UART_LSR_THRE))
- ;
-
- writeb(c, UART_BASE + UART_TX);
-}