Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | /* |
2 | * linux/include/asm-arm/arch-pxa/uncompress.h | |
3 | * | |
4 | * Author: Nicolas Pitre | |
5 | * Copyright: (C) 2001 MontaVista Software Inc. | |
6 | * | |
7 | * This program is free software; you can redistribute it and/or modify | |
8 | * it under the terms of the GNU General Public License version 2 as | |
9 | * published by the Free Software Foundation. | |
10 | */ | |
11 | ||
12 | #define FFUART ((volatile unsigned long *)0x40100000) | |
13 | #define BTUART ((volatile unsigned long *)0x40200000) | |
14 | #define STUART ((volatile unsigned long *)0x40700000) | |
d9e29649 | 15 | #define HWUART ((volatile unsigned long *)0x41600000) |
1da177e4 LT |
16 | |
17 | #define UART FFUART | |
18 | ||
19 | ||
20 | static __inline__ void putc(char c) | |
21 | { | |
22 | while (!(UART[5] & 0x20)); | |
23 | UART[0] = c; | |
24 | } | |
25 | ||
26 | /* | |
27 | * This does not append a newline | |
28 | */ | |
29 | static void putstr(const char *s) | |
30 | { | |
31 | while (*s) { | |
32 | putc(*s); | |
33 | if (*s == '\n') | |
34 | putc('\r'); | |
35 | s++; | |
36 | } | |
37 | } | |
38 | ||
39 | /* | |
40 | * nothing to do | |
41 | */ | |
42 | #define arch_decomp_setup() | |
43 | #define arch_decomp_wdog() |