Path: blob/master/arch/arm/mach-msm/include/mach/uncompress.h
17687 views
/* arch/arm/mach-msm/include/mach/uncompress.h1*2* Copyright (C) 2007 Google, Inc.3*4* This software is licensed under the terms of the GNU General Public5* License version 2, as published by the Free Software Foundation, and6* may be copied, distributed, and modified under those terms.7*8* This program is distributed in the hope that it will be useful,9* but WITHOUT ANY WARRANTY; without even the implied warranty of10* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the11* GNU General Public License for more details.12*13*/1415#ifndef __ASM_ARCH_MSM_UNCOMPRESS_H1617#include "hardware.h"18#include "linux/io.h"19#include "mach/msm_iomap.h"2021static void putc(int c)22{23#if defined(MSM_DEBUG_UART_PHYS)24unsigned base = MSM_DEBUG_UART_PHYS;25while (!(readl(base + 0x08) & 0x04)) ;26writel(c, base + 0x0c);27#endif28}2930static inline void flush(void)31{32}3334static inline void arch_decomp_setup(void)35{36}3738static inline void arch_decomp_wdog(void)39{40}4142#endif434445