GUI: Fix Tomato RAF theme for all builds. Compilation typo.
[tomato.git] / release / src-rt-6.x.4708 / linux / linux-2.6.36 / arch / arm / plat-spear / include / plat / uncompress.h
blob99ba6789cc9730378d0b4267a5111491f77bcb2f
1 /*
2 * arch/arm/plat-spear/include/plat/uncompress.h
4 * Serial port stubs for kernel decompress status messages
6 * Copyright (C) 2009 ST Microelectronics
7 * Viresh Kumar<viresh.kumar@st.com>
9 * This file is licensed under the terms of the GNU General Public
10 * License version 2. This program is licensed "as is" without any
11 * warranty of any kind, whether express or implied.
14 #include <linux/io.h>
15 #include <linux/amba/serial.h>
16 #include <mach/spear.h>
18 #ifndef __PLAT_UNCOMPRESS_H
19 #define __PLAT_UNCOMPRESS_H
21 * This does not append a newline
23 static inline void putc(int c)
25 void __iomem *base = (void __iomem *)SPEAR_DBG_UART_BASE;
27 while (readl(base + UART01x_FR) & UART01x_FR_TXFF)
28 barrier();
30 writel(c, base + UART01x_DR);
33 static inline void flush(void)
38 * nothing to do
40 #define arch_decomp_setup()
41 #define arch_decomp_wdog()
43 #endif /* __PLAT_UNCOMPRESS_H */