MOXA linux-2.6.x / linux-2.6.19-uc1 from UC-7110-LX-BOOTLOADER-1.9_VERSION-4.2.tgz
[linux-2.6.19-moxart.git] / include / asm-arm / arch-ks8695 / uncompress.h
blobaec077c0aba01ce1ff585e5a40e17f26521b3b05
1 /*
2 * linux/include/asm-arm/arch-ks8695/uncompress.h
4 * Copyright (C) 1999 ARM Limited
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
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.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 #include <asm/arch/ks8695-regs.h>
24 * These access routines operate on the physical address space.
26 static inline unsigned int ks8695_getreg(unsigned int r)
28 return *((unsigned int *) (KS8695_IO_BASE + r));
31 static inline void ks8695_setreg(unsigned int r, unsigned int v)
33 *((unsigned int *) (KS8695_IO_BASE + r)) = v;
36 static void putc(char c)
38 while ((ks8695_getreg(KS8695_UART_LINE_STATUS) & KS8695_UART_LINES_TXFE) == 0)
41 ks8695_setreg(KS8695_UART_TX_HOLDING, c);
44 static void flush(void)
49 * nothing to do
51 #define arch_decomp_setup()
53 #define arch_decomp_wdog()