Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / arch / arm / mach-dove / include / mach / uncompress.h
blob5c8ae9b9d39a09753a1bc77afa9fad00e42f62e4
1 /*
2 * arch/arm/mach-dove/include/mach/uncompress.h
4 * This file is licensed under the terms of the GNU General Public
5 * License version 2. This program is licensed "as is" without any
6 * warranty of any kind, whether express or implied.
7 */
9 #include <mach/dove.h>
11 #define UART_THR ((volatile unsigned char *)(DOVE_UART0_PHYS_BASE + 0x0))
12 #define UART_LSR ((volatile unsigned char *)(DOVE_UART0_PHYS_BASE + 0x14))
14 #define LSR_THRE 0x20
16 static void putc(const char c)
18 int i;
20 for (i = 0; i < 0x1000; i++) {
21 /* Transmit fifo not full? */
22 if (*UART_LSR & LSR_THRE)
23 break;
26 *UART_THR = c;
29 static void flush(void)
34 * nothing to do
36 #define arch_decomp_setup()