Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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) |
Matt Reimer | d9e2964 | 2005-10-28 16:25:02 +0100 | [diff] [blame] | 15 | #define HWUART ((volatile unsigned long *)0x41600000) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 16 | |
| 17 | #define UART FFUART |
| 18 | |
| 19 | |
Russell King | a081568 | 2006-03-28 10:24:33 +0100 | [diff] [blame] | 20 | static inline void putc(char c) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 21 | { |
Russell King | a081568 | 2006-03-28 10:24:33 +0100 | [diff] [blame] | 22 | while (!(UART[5] & 0x20)) |
| 23 | barrier(); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 24 | UART[0] = c; |
| 25 | } |
| 26 | |
| 27 | /* |
| 28 | * This does not append a newline |
| 29 | */ |
Russell King | a081568 | 2006-03-28 10:24:33 +0100 | [diff] [blame] | 30 | static inline void flush(void) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 31 | { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 32 | } |
| 33 | |
| 34 | /* |
| 35 | * nothing to do |
| 36 | */ |
| 37 | #define arch_decomp_setup() |
| 38 | #define arch_decomp_wdog() |