summaryrefslogtreecommitdiff
path: root/arch/arm/mach-s5pv210/include/mach/regs-clock.h
diff options
context:
space:
mode:
authorJongpill Lee <boyko.lee@samsung.com>2010-07-23 16:39:15 +0400
committerKukjin Kim <kgene.kim@samsung.com>2010-08-05 13:31:02 +0400
commit4550ee20c8d1c280bd26ec3afbcf636ae2897486 (patch)
tree0a772f7ee90972db8a765cd4460e93396d54d4bf /arch/arm/mach-s5pv210/include/mach/regs-clock.h
parentf5807269ea1fd93e9306191247fd67400ea5f66c (diff)
downloadlinux-4550ee20c8d1c280bd26ec3afbcf636ae2897486.tar.xz
ARM: S5PV210: Add s5pv210_sw_reset for SWRESET
This patch adds s5pv210_sw_reset() which includes SWRESET for S5PV210/S5PC110. Signed-off-by: Jongpill Lee <boyko.lee@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s5pv210/include/mach/regs-clock.h')
-rw-r--r--arch/arm/mach-s5pv210/include/mach/regs-clock.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-s5pv210/include/mach/regs-clock.h b/arch/arm/mach-s5pv210/include/mach/regs-clock.h
index 2a25ab40c863..499aef737476 100644
--- a/arch/arm/mach-s5pv210/include/mach/regs-clock.h
+++ b/arch/arm/mach-s5pv210/include/mach/regs-clock.h
@@ -90,6 +90,8 @@
#define S5P_CLKDIV0_PCLK66_SHIFT (28)
#define S5P_CLKDIV0_PCLK66_MASK (0x7 << S5P_CLKDIV0_PCLK66_SHIFT)
+#define S5P_SWRESET S5P_CLKREG(0x2000)
+
/* Registers related to power management */
#define S5P_PWR_CFG S5P_CLKREG(0xC000)
#define S5P_EINT_WAKEUP_MASK S5P_CLKREG(0xC004)