Merge branch 'linux-next' of git://git.infradead.org/ubi-2.6
[pandora-kernel.git] / arch / arm / plat-tcc / include / mach / system.h
1 /*
2  * Author: <linux@telechips.com>
3  * Created: June 10, 2008
4  * Description: LINUX SYSTEM FUNCTIONS for TCC83x
5  *
6  * Copyright (C) 2008-2009 Telechips
7  *
8  * Licensed under the terms of the GPL v2.
9  *
10  */
11
12 #ifndef __ASM_ARCH_SYSTEM_H
13 #define __ASM_ARCH_SYSTEM_H
14 #include <linux/clk.h>
15
16 #include <asm/mach-types.h>
17 #include <mach/hardware.h>
18
19 extern void plat_tcc_reboot(void);
20
21 static inline void arch_idle(void)
22 {
23         cpu_do_idle();
24 }
25
26 static inline void arch_reset(char mode, const char *cmd)
27 {
28         plat_tcc_reboot();
29 }
30
31 #endif