diff options
Diffstat (limited to 'ANDROID_3.4.5/arch/arm/plat-spear/include/plat/uncompress.h')
-rw-r--r-- | ANDROID_3.4.5/arch/arm/plat-spear/include/plat/uncompress.h | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/ANDROID_3.4.5/arch/arm/plat-spear/include/plat/uncompress.h b/ANDROID_3.4.5/arch/arm/plat-spear/include/plat/uncompress.h deleted file mode 100644 index 1bf84527..00000000 --- a/ANDROID_3.4.5/arch/arm/plat-spear/include/plat/uncompress.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * arch/arm/plat-spear/include/plat/uncompress.h - * - * Serial port stubs for kernel decompress status messages - * - * Copyright (C) 2009 ST Microelectronics - * Viresh Kumar<viresh.kumar@st.com> - * - * This file is licensed under the terms of the GNU General Public - * License version 2. This program is licensed "as is" without any - * warranty of any kind, whether express or implied. - */ - -#include <linux/io.h> -#include <linux/amba/serial.h> -#include <mach/hardware.h> - -#ifndef __PLAT_UNCOMPRESS_H -#define __PLAT_UNCOMPRESS_H -/* - * This does not append a newline - */ -static inline void putc(int c) -{ - void __iomem *base = (void __iomem *)SPEAR_DBG_UART_BASE; - - while (readl_relaxed(base + UART01x_FR) & UART01x_FR_TXFF) - barrier(); - - writel_relaxed(c, base + UART01x_DR); -} - -static inline void flush(void) -{ -} - -/* - * nothing to do - */ -#define arch_decomp_setup() -#define arch_decomp_wdog() - -#endif /* __PLAT_UNCOMPRESS_H */ |