Linux 2.6.25.3
[linux/fpc-iii.git] / include / asm-arm / arch-iop13xx / uncompress.h
blobdd9c2934190e045a9e6872bfe84fa26d3c574fec
1 #include <asm/types.h>
2 #include <linux/serial_reg.h>
3 #include <asm/hardware.h>
5 #define UART_BASE ((volatile u32 *)IOP13XX_UART1_PHYS)
6 #define TX_DONE (UART_LSR_TEMT | UART_LSR_THRE)
8 static inline void putc(char c)
10 while ((UART_BASE[UART_LSR] & TX_DONE) != TX_DONE)
11 barrier();
12 UART_BASE[UART_TX] = c;
15 static inline void flush(void)
20 * nothing to do
22 #define arch_decomp_setup()
23 #define arch_decomp_wdog()