Merge remote-tracking branch 'regulator/topic/tps65910' into regulator-next
[deliverable/linux.git] / arch / arm / mach-shark / include / mach / uncompress.h
CommitLineData
1da177e4 1/*
a09e64fb 2 * arch/arm/mach-shark/include/mach/uncompress.h
1da177e4
LT
3 * by Alexander Schulz
4 *
5 * derived from:
a09e64fb 6 * arch/arm/mach-footbridge/include/mach/uncompress.h
1da177e4
LT
7 * Copyright (C) 1996,1997,1998 Russell King
8 */
9
10#define SERIAL_BASE ((volatile unsigned char *)0x400003f8)
11
a081568d 12static inline void putc(int c)
1da177e4 13{
eab184c2 14 volatile int t;
1da177e4
LT
15
16 SERIAL_BASE[0] = c;
17 t=0x10000;
18 while (t--);
19}
20
a081568d 21static inline void flush(void)
1da177e4 22{
1da177e4
LT
23}
24
25#ifdef DEBUG
26static void putn(unsigned long z)
27{
28 int i;
29 char x;
30
31 putc('0');
32 putc('x');
33 for (i=0;i<8;i++) {
34 x='0'+((z>>((7-i)*4))&0xf);
35 if (x>'9') x=x-'0'+'A'-10;
36 putc(x);
37 }
38}
39
40static void putr()
41{
42 putc('\n');
43 putc('\r');
44}
45#endif
46
47/*
48 * nothing to do
49 */
50#define arch_decomp_setup()
This page took 0.726019 seconds and 5 git commands to generate.