Linux 2.6.20.13
[linux/fpc-iii.git] / include / asm-arm / arch-iop13xx / uncompress.h
blobb9525d59b7ad3616f94b8e8f7f214c32a6893aef
1 #include <asm/types.h>
2 #include <linux/serial_reg.h>
3 #include <asm/hardware.h>
4 #include <asm/processor.h>
6 #define UART_BASE ((volatile u32 *)IOP13XX_UART1_PHYS)
7 #define TX_DONE (UART_LSR_TEMT | UART_LSR_THRE)
9 static inline void putc(char c)
11 while ((UART_BASE[UART_LSR] & TX_DONE) != TX_DONE)
12 cpu_relax();
13 UART_BASE[UART_TX] = c;
16 static inline void flush(void)
21 * nothing to do
23 #define arch_decomp_setup()
24 #define arch_decomp_wdog()