]>
Commit | Line | Data |
---|---|---|
8acd1ade BM |
1 | /* linux/arch/arm/mach-s5pc100/include/mach/system.h |
2 | * | |
3 | * Copyright 2009 Samsung Electronics Co. | |
4 | * Byungho Min <bhmin@samsung.com> | |
5 | * | |
6 | * S5PC1XX - system implementation | |
7 | * | |
8 | * Based on mach-s3c6400/include/mach/system.h | |
9 | */ | |
10 | ||
11 | #ifndef __ASM_ARCH_SYSTEM_H | |
12 | #define __ASM_ARCH_SYSTEM_H __FILE__ | |
13 | ||
c3fcf5d1 KP |
14 | #include <linux/io.h> |
15 | #include <mach/map.h> | |
16 | #include <plat/regs-clock.h> | |
17 | ||
18 | void (*s5pc1xx_idle)(void); | |
19 | ||
8acd1ade BM |
20 | static void arch_idle(void) |
21 | { | |
c3fcf5d1 KP |
22 | if (s5pc1xx_idle) |
23 | s5pc1xx_idle(); | |
8acd1ade BM |
24 | } |
25 | ||
26 | static void arch_reset(char mode, const char *cmd) | |
27 | { | |
c3fcf5d1 KP |
28 | __raw_writel(S5PC100_SWRESET_RESETVAL, S5PC100_SWRESET); |
29 | return; | |
8acd1ade | 30 | } |
8acd1ade | 31 | #endif /* __ASM_ARCH_IRQ_H */ |