Merge branch 'stable-3.2' into pandora-3.2
[pandora-kernel.git] / arch / arm / mach-s3c64xx / include / mach / system.h
1 /* linux/arch/arm/mach-s3c6400/include/mach/system.h
2  *
3  * Copyright 2008 Openmoko, Inc.
4  * Copyright 2008 Simtec Electronics
5  *      Ben Dooks <ben@simtec.co.uk>
6  *      http://armlinux.simtec.co.uk/
7  *
8  * S3C6400 - system implementation
9  */
10
11 #ifndef __ASM_ARCH_SYSTEM_H
12 #define __ASM_ARCH_SYSTEM_H __FILE__
13
14 #include <plat/watchdog-reset.h>
15
16 static void arch_idle(void)
17 {
18         /* nothing here yet */
19 }
20
21 static void arch_reset(char mode, const char *cmd)
22 {
23         if (mode != 's')
24                 arch_wdt_reset();
25
26         /* if all else fails, or mode was for soft, jump to 0 */
27         soft_restart(0);
28 }
29
30 #endif /* __ASM_ARCH_IRQ_H */