Path: blob/master/arch/arm/mach-dove/include/mach/uncompress.h
10820 views
/*1* arch/arm/mach-dove/include/mach/uncompress.h2*3* This file is licensed under the terms of the GNU General Public4* License version 2. This program is licensed "as is" without any5* warranty of any kind, whether express or implied.6*/78#include <mach/dove.h>910#define UART_THR ((volatile unsigned char *)(DOVE_UART0_PHYS_BASE + 0x0))11#define UART_LSR ((volatile unsigned char *)(DOVE_UART0_PHYS_BASE + 0x14))1213#define LSR_THRE 0x201415static void putc(const char c)16{17int i;1819for (i = 0; i < 0x1000; i++) {20/* Transmit fifo not full? */21if (*UART_LSR & LSR_THRE)22break;23}2425*UART_THR = c;26}2728static void flush(void)29{30}3132/*33* nothing to do34*/35#define arch_decomp_setup()36#define arch_decomp_wdog()373839