ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.6.tar.bz2
[linux-2.6.git] / include / asm-arm / arch-adifcc / uncompress.h
1 /*
2  * linux/include/asm-arm/arch-adifcc/uncompress.h
3  *
4  * Author: Deepak Saxena <dsaxena@mvista.com>
5  *
6  * Copyright (c) 2001 MontaVista Software, Inc.
7  *
8  */
9
10 #define UART_BASE    ((volatile unsigned char *)0x00400000)
11
12 static __inline__ void putc(char c)
13 {
14         while ((UART_BASE[5] & 0x60) != 0x60);
15         UART_BASE[0] = c;
16 }
17
18 /*
19  * This does not append a newline
20  */
21 static void puts(const char *s)
22 {
23         while (*s) {
24                 putc(*s);
25                 if (*s == '\n')
26                         putc('\r');
27                 s++;
28         }
29 }
30
31 /*
32  * nothing to do
33  */
34 #define arch_decomp_setup()
35 #define arch_decomp_wdog()