Merge branch 'reiserfs/kill-bkl' of git://git.kernel.org/pub/scm/linux/kernel/git...
[pandora-kernel.git] / arch / arm / mach-msm / include / mach / uncompress.h
1 /* arch/arm/mach-msm/include/mach/uncompress.h
2  *
3  * Copyright (C) 2007 Google, Inc.
4  *
5  * This software is licensed under the terms of the GNU General Public
6  * License version 2, as published by the Free Software Foundation, and
7  * may be copied, distributed, and modified under those terms.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  * GNU General Public License for more details.
13  *
14  */
15
16 #ifndef __ASM_ARCH_MSM_UNCOMPRESS_H
17
18 #include "hardware.h"
19 #include "linux/io.h"
20 #include "mach/msm_iomap.h"
21
22 static void putc(int c)
23 {
24 #if defined(MSM_DEBUG_UART_PHYS)
25         unsigned base = MSM_DEBUG_UART_PHYS;
26         while (!(readl(base + 0x08) & 0x04)) ;
27         writel(c, base + 0x0c);
28 #endif
29 }
30
31 static inline void flush(void)
32 {
33 }
34
35 static inline void arch_decomp_setup(void)
36 {
37 }
38
39 static inline void arch_decomp_wdog(void)
40 {
41 }
42
43 #endif