Add linux-next specific files for 20110831
[linux-2.6/next.git] / arch / arm / mach-msm / include / mach / uncompress.h
blobd94292c29d8e27ed6a736a8bb24b7d8f640d3dd0
1 /* arch/arm/mach-msm/include/mach/uncompress.h
3 * Copyright (C) 2007 Google, Inc.
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.
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.
16 #ifndef __ASM_ARCH_MSM_UNCOMPRESS_H
18 #include "hardware.h"
19 #include "linux/io.h"
20 #include "mach/msm_iomap.h"
22 static void putc(int c)
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
31 static inline void flush(void)
35 static inline void arch_decomp_setup(void)
39 static inline void arch_decomp_wdog(void)
43 #endif