fbc372787ea17d061b3512ab345dccf28d995162
1 /* linux/include/asm-arm/arch-oxnas/uncompress.h
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 as
5 * published by the Free Software Foundation.
8 #ifndef __ASM_ARCH_UNCOMPRESS_H
9 #define __ASM_ARCH_UNCOMPRESS_H
11 #define OXNAS_UART1_BASE 0x44200000
13 static inline void putc(int c
)
15 static volatile unsigned char *uart
=
16 (volatile unsigned char *)OXNAS_UART1_BASE
;
18 while (!(uart
[5] & 0x20)) { /* LSR reg THR empty bit */
21 uart
[0] = c
; /* THR register */
24 static inline void flush(void)
28 #define arch_decomp_setup()
30 #define arch_decomp_wdog()
32 #endif /* __ASM_ARCH_UNCOMPRESS_H */