spi-topcliff-pch: supports a spi mode setup and bit order setup by IO control
[zen-stable.git] / arch / arm / mach-vt8500 / include / mach / uncompress.h
blobbb9e2d23fee3fdf57afebdd128ebae6b06c89bec
1 /* arch/arm/mach-vt8500/include/mach/uncompress.h
3 * Copyright (C) 2010 Alexey Charkov <alchark@gmail.com>
5 * Based on arch/arm/mach-dove/include/mach/uncompress.h
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.
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.
18 #define UART0_PHYS 0xd8200000
19 #include <asm/io.h>
21 static void putc(const char c)
23 while (readb(UART0_PHYS + 0x1c) & 0x2)
24 /* Tx busy, wait and poll */;
26 writeb(c, UART0_PHYS);
29 static void flush(void)
34 * nothing to do
36 #define arch_decomp_setup()
37 #define arch_decomp_wdog()