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-p2001 / uncompress.h
blob88cfedc1e678d423b4271d90e045d0f80a07ccb1
1 /*
2 * linux/include/asm-armnommu/arch-p2001/uncompress.h
4 * Copyright (C) 2004 Tobias Lorenz
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 #ifndef __UNCOMPRESS_H__
12 #define __UNCOMPRESS_H__
14 #include <asm/hardware.h>
16 static __inline__ void putc(char c)
18 while ((P2001_UART->r.STATUS & 0x3f) > 0)
19 barrier();
20 P2001_UART->w.TX[0] = c;
24 * This does not append a newline
26 static void puts(const char *s)
28 while (*s) {
29 putc(*s);
30 if (*s == '\n')
31 putc('\r');
32 s++;
37 * nothing to do
39 #define arch_decomp_setup()
41 #define arch_decomp_wdog()
43 #endif