This client driver allows you to use a GPIO pin as a source for PPS
[linux-2.6/next.git] / arch / unicore32 / include / mach / uncompress.h
blob142d3e7958a9748169663ef6edc3a64f0de4c628
1 /*
2 * linux/arch/unicore32/include/mach/uncompress.h
4 * Code specific to PKUnity SoC and UniCore ISA
6 * Copyright (C) 2001-2010 GUAN Xue-tao
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
13 #ifndef __MACH_PUV3_UNCOMPRESS_H__
14 #define __MACH_PUV3_UNCOMPRESS_H__
16 #include "hardware.h"
17 #include "ocd.h"
19 extern char input_data[];
20 extern char input_data_end[];
22 static void arch_decomp_puts(const char *ptr)
24 char c;
26 while ((c = *ptr++) != '\0') {
27 if (c == '\n')
28 putc('\r');
29 putc(c);
32 #define ARCH_HAVE_DECOMP_PUTS
34 #endif /* __MACH_PUV3_UNCOMPRESS_H__ */