aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/ar7/prom.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/ar7/prom.c')
-rw-r--r--arch/mips/ar7/prom.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/mips/ar7/prom.c b/arch/mips/ar7/prom.c
index 453dd22ad416..c1fdd3682812 100644
--- a/arch/mips/ar7/prom.c
+++ b/arch/mips/ar7/prom.c
@@ -272,13 +272,6 @@ static inline void serial_out(int offset, int value)
272 writel(value, (void *)PORT(offset)); 272 writel(value, (void *)PORT(offset));
273} 273}
274 274
275char prom_getchar(void)
276{
277 while (!(serial_in(UART_LSR) & UART_LSR_DR))
278 ;
279 return serial_in(UART_RX);
280}
281
282int prom_putchar(char c) 275int prom_putchar(char c)
283{ 276{
284 while ((serial_in(UART_LSR) & UART_LSR_TEMT) == 0) 277 while ((serial_in(UART_LSR) & UART_LSR_TEMT) == 0)