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-stmp3xxx / include / mach / uncompress.h
blobf79f5ee56cd46781c91862e42e620534c59bb165
1 /*
3 * Copyright 2008 Freescale Semiconductor, Inc. All Rights Reserved.
4 * Copyright 2008 Embedded Alley Solutions, Inc All Rights Reserved.
5 */
7 /*
8 * The code contained herein is licensed under the GNU General Public
9 * License. You may obtain a copy of the GNU General Public License
10 * Version 2 or later at the following locations:
12 * http://www.opensource.org/licenses/gpl-license.html
13 * http://www.gnu.org/copyleft/gpl.html
15 #ifndef __ASM_PLAT_UNCOMPRESS_H
16 #define __ASM_PLAT_UNCOMPRESS_H
19 * Register includes are for when the MMU enabled; we need to define our
20 * own stuff here for pre-MMU use
22 #define UARTDBG_BASE 0x80070000
23 #define UART(c) (((volatile unsigned *)UARTDBG_BASE)[c])
26 * This does not append a newline
28 static void putc(char c)
30 /* Wait for TX fifo empty */
31 while ((UART(6) & (1<<7)) == 0)
32 continue;
34 /* Write byte */
35 UART(0) = c;
37 /* Wait for last bit to exit the UART */
38 while (UART(6) & (1<<3))
39 continue;
42 static void flush(void)
47 * nothing to do
49 #define arch_decomp_setup()
51 #define arch_decomp_wdog()
53 #endif /* __ASM_PLAT_UNCOMPRESS_H */