aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ppc/boot/simple/uartlite_tty.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ppc/boot/simple/uartlite_tty.c')
-rw-r--r--arch/ppc/boot/simple/uartlite_tty.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/ppc/boot/simple/uartlite_tty.c b/arch/ppc/boot/simple/uartlite_tty.c
index 0eae1eab38d..ca1743e3e91 100644
--- a/arch/ppc/boot/simple/uartlite_tty.c
+++ b/arch/ppc/boot/simple/uartlite_tty.c
@@ -16,6 +16,14 @@
16 16
17#define UARTLITE_BASEADDR ((void*)(XPAR_UARTLITE_0_BASEADDR)) 17#define UARTLITE_BASEADDR ((void*)(XPAR_UARTLITE_0_BASEADDR))
18 18
19unsigned long
20serial_init(int chan, void *ignored)
21{
22 /* Clear the RX FIFO */
23 out_be32(UARTLITE_BASEADDR + 0x0C, 0x2);
24 return 0;
25}
26
19void 27void
20serial_putc(unsigned long com_port, unsigned char c) 28serial_putc(unsigned long com_port, unsigned char c)
21{ 29{