Full support for Ginger Console
[linux-ginger.git] / arch / arm / mach-davinci / include / mach / system.h
blob8e4f10fe1263f5b3e9a24f93564b6d6310056494
1 /*
2 * DaVinci system defines
4 * Author: Kevin Hilman, MontaVista Software, Inc. <source@mvista.com>
6 * 2007 (c) MontaVista Software, Inc. This file is licensed under
7 * the terms of the GNU General Public License version 2. This program
8 * is licensed "as is" without any warranty of any kind, whether express
9 * or implied.
11 #ifndef __ASM_ARCH_SYSTEM_H
12 #define __ASM_ARCH_SYSTEM_H
14 #include <linux/io.h>
15 #include <mach/hardware.h>
17 extern void davinci_watchdog_reset(void);
19 static inline void arch_idle(void)
21 cpu_do_idle();
24 static inline void arch_reset(char mode, const char *cmd)
26 davinci_watchdog_reset();
29 #endif /* __ASM_ARCH_SYSTEM_H */