OpenWrt – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | /* linux/include/asm-arm/arch-oxnas/uncompress.h |
2 | * |
||
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. |
||
6 | */ |
||
7 | |||
8 | #ifndef __ASM_ARCH_UNCOMPRESS_H |
||
9 | #define __ASM_ARCH_UNCOMPRESS_H |
||
10 | |||
11 | #define OXNAS_UART1_BASE 0x44200000 |
||
12 | |||
13 | static inline void putc(int c) |
||
14 | { |
||
15 | static volatile unsigned char *uart = |
||
16 | (volatile unsigned char *)OXNAS_UART1_BASE; |
||
17 | |||
18 | while (!(uart[5] & 0x20)) { /* LSR reg THR empty bit */ |
||
19 | barrier(); |
||
20 | } |
||
21 | uart[0] = c; /* THR register */ |
||
22 | } |
||
23 | |||
24 | static inline void flush(void) |
||
25 | { |
||
26 | } |
||
27 | |||
28 | #define arch_decomp_setup() |
||
29 | |||
30 | #define arch_decomp_wdog() |
||
31 | |||
32 | #endif /* __ASM_ARCH_UNCOMPRESS_H */ |