Linux 2.6.33
[pohmelfs.git] / arch / arm / mach-s5pc100 / include / mach / system.h
blobf0d31a2a598c3f71ebeb187250a0945e52969519
1 /* linux/arch/arm/mach-s5pc100/include/mach/system.h
3 * Copyright 2009 Samsung Electronics Co.
4 * Byungho Min <bhmin@samsung.com>
6 * S5PC1XX - system implementation
8 * Based on mach-s3c6400/include/mach/system.h
9 */
11 #ifndef __ASM_ARCH_SYSTEM_H
12 #define __ASM_ARCH_SYSTEM_H __FILE__
14 #include <linux/io.h>
15 #include <mach/map.h>
16 #include <plat/regs-clock.h>
18 void (*s5pc1xx_idle)(void);
20 static void arch_idle(void)
22 if (s5pc1xx_idle)
23 s5pc1xx_idle();
26 static void arch_reset(char mode, const char *cmd)
28 __raw_writel(S5PC100_SWRESET_RESETVAL, S5PC100_SWRESET);
29 return;
31 #endif /* __ASM_ARCH_IRQ_H */