2 * Marvell Armada SoC kernel uncompression UART routines
4 * Copyright (C) 2012 Marvell
6 * Lior Amsalem <alior@marvell.com>
8 * This file is licensed under the terms of the GNU General Public
9 * License version 2. This program is licensed "as is" without any
10 * warranty of any kind, whether express or implied.
13 #include <mach/armada-370-xp.h>
15 #define UART_THR ((volatile unsigned char *)(ARMADA_370_XP_REGS_PHYS_BASE\
17 #define UART_LSR ((volatile unsigned char *)(ARMADA_370_XP_REGS_PHYS_BASE\
22 static void putc(const char c
)
26 for (i
= 0; i
< 0x1000; i
++) {
27 /* Transmit fifo not full? */
28 if (*UART_LSR
& LSR_THRE
)
35 static void flush(void)
42 #define arch_decomp_setup()
43 #define arch_decomp_wdog()
This page took 0.040326 seconds and 5 git commands to generate.