[PATCH] w1_therm: removed duplicated family id.
[linux-2.6/verdex.git] / include / asm-arm / arch-shark / uncompress.h
blob910a8e0a0ca58f78e7a555b61da861b0d1122444
1 /*
2 * linux/include/asm-arm/arch-shark/uncompress.h
3 * by Alexander Schulz
5 * derived from:
6 * linux/include/asm-arm/arch-ebsa285/uncompress.h
7 * Copyright (C) 1996,1997,1998 Russell King
8 */
10 #define SERIAL_BASE ((volatile unsigned char *)0x400003f8)
12 static __inline__ void putc(char c)
14 int t;
16 SERIAL_BASE[0] = c;
17 t=0x10000;
18 while (t--);
22 * This does not append a newline
24 static void putstr(const char *s)
26 while (*s) {
27 putc(*s);
28 if (*s == '\n')
29 putc('\r');
30 s++;
34 #ifdef DEBUG
35 static void putn(unsigned long z)
37 int i;
38 char x;
40 putc('0');
41 putc('x');
42 for (i=0;i<8;i++) {
43 x='0'+((z>>((7-i)*4))&0xf);
44 if (x>'9') x=x-'0'+'A'-10;
45 putc(x);
49 static void putr()
51 putc('\n');
52 putc('\r');
54 #endif
57 * nothing to do
59 #define arch_decomp_setup()
60 #define arch_decomp_wdog()