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 / mach-ebsa110 / include / mach / uncompress.h
blob32041509fbf84c2f393f32b2d7807f03f7af2036
1 /*
2 * arch/arm/mach-ebsa110/include/mach/uncompress.h
4 * Copyright (C) 1996,1997,1998 Russell King
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
11 #include <linux/serial_reg.h>
13 #define SERIAL_BASE ((unsigned char *)0xf0000be0)
16 * This does not append a newline
18 static inline void putc(int c)
20 unsigned char v, *base = SERIAL_BASE;
22 do {
23 v = base[UART_LSR << 2];
24 barrier();
25 } while (!(v & UART_LSR_THRE));
27 base[UART_TX << 2] = c;
30 static inline void flush(void)
32 unsigned char v, *base = SERIAL_BASE;
34 do {
35 v = base[UART_LSR << 2];
36 barrier();
37 } while ((v & (UART_LSR_TEMT|UART_LSR_THRE)) !=
38 (UART_LSR_TEMT|UART_LSR_THRE));
42 * nothing to do
44 #define arch_decomp_setup()
45 #define arch_decomp_wdog()