summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-msm/timer.c
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2012-09-05 12:28:59 -0700
committerDavid Brown <davidb@codeaurora.org>2012-09-13 11:17:01 -0700
commit0607fa5884f1759b396a0e1c07be561515daddc8 (patch)
treeecbae1244d4e4651ea28c3d1ff0d8ca5cf9ac6fc /arch/arm/mach-msm/timer.c
parentc446407c09ce0b339a84931f3d45f3dabb9f0b17 (diff)
downloadop-kernel-dev-0607fa5884f1759b396a0e1c07be561515daddc8.zip
op-kernel-dev-0607fa5884f1759b396a0e1c07be561515daddc8.tar.gz
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 27ade4f..7a49195 100644
--- a/arch/arm/mach-msm/timer.c
+++ b/arch/arm/mach-msm/timer.c
@@ -37,7 +37,6 @@
#define TIMER_ENABLE_CLR_ON_MATCH_EN BIT(1)
#define TIMER_ENABLE_EN BIT(0)
#define TIMER_CLEAR 0x000C
-#define DGT_CLK_CTL 0x0030
#define DGT_CLK_CTL_DIV_4 0x3
#define GPT_HZ 32768
@@ -346,18 +345,6 @@ struct sys_timer msm7x30_timer = {
.init = msm7x30_timer_init
};
-static void __init msm8960_timer_init(void)
-{
- if (msm_timer_map(0x0200A004, 0x0208A024))
- return;
- writel_relaxed(DGT_CLK_CTL_DIV_4, event_base + DGT_CLK_CTL);
- msm_timer_init(27000000 / 4, 32, 17, true);
-}
-
-struct sys_timer msm8960_timer = {
- .init = msm8960_timer_init
-};
-
static void __init qsd8x50_timer_init(void)
{
if (msm_timer_map(0xAC100000, 0xAC100010))
OpenPOWER on IntegriCloud