diff options
author | Kyungmin Park <kyungmin.park@samsung.com> | 2011-08-19 20:25:05 +0900 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2011-08-19 21:21:08 +0900 |
commit | d2edddf2b25863ec0893635662b0832f9965b543 (patch) | |
tree | 17b18e4614b22dc4a478b2d64cbd8c977f67b2cd /arch/arm/mach-exynos4/include | |
parent | 2b431ff74a850db3d5b804be3ac466b6ed7f516d (diff) |
ARM: EXYNOS4: Add restart hook for proper reboot
This is required to use SWRESET.
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-exynos4/include')
-rw-r--r-- | arch/arm/mach-exynos4/include/mach/regs-pmu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-exynos4/include/mach/regs-pmu.h b/arch/arm/mach-exynos4/include/mach/regs-pmu.h index fa49bbb8e7b..cdf9b47c303 100644 --- a/arch/arm/mach-exynos4/include/mach/regs-pmu.h +++ b/arch/arm/mach-exynos4/include/mach/regs-pmu.h @@ -29,6 +29,8 @@ #define S5P_USE_STANDBY_WFE1 (1 << 25) #define S5P_USE_MASK ((0x3 << 16) | (0x3 << 24)) +#define S5P_SWRESET S5P_PMUREG(0x0400) + #define S5P_WAKEUP_STAT S5P_PMUREG(0x0600) #define S5P_EINT_WAKEUP_MASK S5P_PMUREG(0x0604) #define S5P_WAKEUP_MASK S5P_PMUREG(0x0608) |