aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-msm/timer.c
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2012-09-05 15:28:59 -0400
committerDavid Brown <davidb@codeaurora.org>2012-09-13 14:17:01 -0400
commit0607fa5884f1759b396a0e1c07be561515daddc8 (patch)
treeecbae1244d4e4651ea28c3d1ff0d8ca5cf9ac6fc /arch/arm/mach-msm/timer.c
parentc446407c09ce0b339a84931f3d45f3dabb9f0b17 (diff)
ARM: msm: Remove non-DT targets from 8960
Remove the non-DT targets supported by 8960. This makes 8960 a device tree only target. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: David Brown <davidb@codeaurora.org>
Diffstat (limited to 'arch/arm/mach-msm/timer.c')
-rw-r--r--arch/arm/mach-msm/timer.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/arm/mach-msm/timer.c b/arch/arm/mach-msm/timer.c
index 27ade4f1ee16..7a49195f7a92 100644
--- a/arch/arm/mach-msm/timer.c
+++ b/arch/arm/mach-msm/timer.c
@@ -37,7 +37,6 @@
37#define TIMER_ENABLE_CLR_ON_MATCH_EN BIT(1) 37#define TIMER_ENABLE_CLR_ON_MATCH_EN BIT(1)
38#define TIMER_ENABLE_EN BIT(0) 38#define TIMER_ENABLE_EN BIT(0)
39#define TIMER_CLEAR 0x000C 39#define TIMER_CLEAR 0x000C
40#define DGT_CLK_CTL 0x0030
41#define DGT_CLK_CTL_DIV_4 0x3 40#define DGT_CLK_CTL_DIV_4 0x3
42 41
43#define GPT_HZ 32768 42#define GPT_HZ 32768
@@ -346,18 +345,6 @@ struct sys_timer msm7x30_timer = {
346 .init = msm7x30_timer_init 345 .init = msm7x30_timer_init
347}; 346};
348 347
349static void __init msm8960_timer_init(void)
350{
351 if (msm_timer_map(0x0200A004, 0x0208A024))
352 return;
353 writel_relaxed(DGT_CLK_CTL_DIV_4, event_base + DGT_CLK_CTL);
354 msm_timer_init(27000000 / 4, 32, 17, true);
355}
356
357struct sys_timer msm8960_timer = {
358 .init = msm8960_timer_init
359};
360
361static void __init qsd8x50_timer_init(void) 348static void __init qsd8x50_timer_init(void)
362{ 349{
363 if (msm_timer_map(0xAC100000, 0xAC100010)) 350 if (msm_timer_map(0xAC100000, 0xAC100010))