diff options
Diffstat (limited to 'arch/arm/mach-vt8500/include/mach/uncompress.h')
| -rw-r--r-- | arch/arm/mach-vt8500/include/mach/uncompress.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/arch/arm/mach-vt8500/include/mach/uncompress.h b/arch/arm/mach-vt8500/include/mach/uncompress.h new file mode 100644 index 000000000000..bb9e2d23fee3 --- /dev/null +++ b/arch/arm/mach-vt8500/include/mach/uncompress.h | |||
| @@ -0,0 +1,37 @@ | |||
| 1 | /* arch/arm/mach-vt8500/include/mach/uncompress.h | ||
| 2 | * | ||
| 3 | * Copyright (C) 2010 Alexey Charkov <alchark@gmail.com> | ||
| 4 | * | ||
| 5 | * Based on arch/arm/mach-dove/include/mach/uncompress.h | ||
| 6 | * | ||
| 7 | * This software is licensed under the terms of the GNU General Public | ||
| 8 | * License version 2, as published by the Free Software Foundation, and | ||
| 9 | * may be copied, distributed, and modified under those terms. | ||
| 10 | * | ||
| 11 | * This program is distributed in the hope that it will be useful, | ||
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 14 | * GNU General Public License for more details. | ||
| 15 | * | ||
| 16 | */ | ||
| 17 | |||
| 18 | #define UART0_PHYS 0xd8200000 | ||
| 19 | #include <asm/io.h> | ||
| 20 | |||
| 21 | static void putc(const char c) | ||
| 22 | { | ||
| 23 | while (readb(UART0_PHYS + 0x1c) & 0x2) | ||
| 24 | /* Tx busy, wait and poll */; | ||
| 25 | |||
| 26 | writeb(c, UART0_PHYS); | ||
| 27 | } | ||
| 28 | |||
| 29 | static void flush(void) | ||
| 30 | { | ||
| 31 | } | ||
| 32 | |||
| 33 | /* | ||
| 34 | * nothing to do | ||
| 35 | */ | ||
| 36 | #define arch_decomp_setup() | ||
| 37 | #define arch_decomp_wdog() | ||
