aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/timer.c
diff options
context:
space:
mode:
authorR Sricharan <r.sricharan@ti.com>2013-02-07 13:25:39 +0530
committerRajendra Nayak <rnayak@ti.com>2013-08-13 11:00:38 +0530
commitf18153f984bef7ab551701f2bae74078c0ded27c (patch)
tree149dedcb218f8a0c762296c554a7e5b1ff1fefc5 /arch/arm/mach-omap2/timer.c
parentARM: DRA7: Reuse io tables and add a new .init_early (diff)
downloadlinux-dev-f18153f984bef7ab551701f2bae74078c0ded27c.tar.xz
linux-dev-f18153f984bef7ab551701f2bae74078c0ded27c.zip
ARM: DRA7: Resue the clocksource, clockevent support
All of OMAP5 timer support for clocksource and clockevent is completely reused across DRA7. Signed-off-by: R Sricharan <r.sricharan@ti.com> Signed-off-by: Rajendra Nayak <rnayak@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/timer.c')
-rw-r--r--arch/arm/mach-omap2/timer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/timer.c b/arch/arm/mach-omap2/timer.c
index b37e1fcbad56..1e77f11c5f51 100644
--- a/arch/arm/mach-omap2/timer.c
+++ b/arch/arm/mach-omap2/timer.c
@@ -594,7 +594,8 @@ OMAP_SYS_GP_TIMER_INIT(3, 2, "timer_sys_ck", NULL,
1, "timer_sys_ck", "ti,timer-alwon");
#endif
-#if defined(CONFIG_ARCH_OMAP4) || defined(CONFIG_SOC_OMAP5)
+#if defined(CONFIG_ARCH_OMAP4) || defined(CONFIG_SOC_OMAP5) || \
+ defined(CONFIG_SOC_DRA7XX)
static OMAP_SYS_32K_TIMER_INIT(4, 1, "timer_32k_ck", "ti,timer-alwon",
2, "sys_clkin_ck", NULL);
#endif