diff options
author | Daniel Walker <dwalker@codeaurora.org> | 2010-05-13 18:39:52 -0400 |
---|---|---|
committer | Daniel Walker <dwalker@codeaurora.org> | 2010-05-13 19:08:26 -0400 |
commit | 83a2c0e4bd9065cbd7a179abfaace2f55b742302 (patch) | |
tree | 76dab636b0c99183a47ae519989ab3694ce92264 /arch/arm/mach-msm | |
parent | f9f3d3131879b0bb137084f4ca8ba67d2120b003 (diff) |
msm: timer: allow MSM_DGT_BASE to be overriden
Some SoC need to redefine MSM_DGT_BASE from it's default.
This allows it to be defined in a header to override the
default value.
Signed-off-by: Daniel Walker <dwalker@codeaurora.org>
Diffstat (limited to 'arch/arm/mach-msm')
-rw-r--r-- | arch/arm/mach-msm/timer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-msm/timer.c b/arch/arm/mach-msm/timer.c index 4855b8ca5101..dec5ca622d7d 100644 --- a/arch/arm/mach-msm/timer.c +++ b/arch/arm/mach-msm/timer.c | |||
@@ -25,7 +25,9 @@ | |||
25 | #include <asm/mach/time.h> | 25 | #include <asm/mach/time.h> |
26 | #include <mach/msm_iomap.h> | 26 | #include <mach/msm_iomap.h> |
27 | 27 | ||
28 | #ifndef MSM_DGT_BASE | ||
28 | #define MSM_DGT_BASE (MSM_GPT_BASE + 0x10) | 29 | #define MSM_DGT_BASE (MSM_GPT_BASE + 0x10) |
30 | #endif | ||
29 | #define MSM_DGT_SHIFT (5) | 31 | #define MSM_DGT_SHIFT (5) |
30 | 32 | ||
31 | #define TIMER_MATCH_VAL 0x0000 | 33 | #define TIMER_MATCH_VAL 0x0000 |