Skip to content

Commit

Permalink
msm: timer: allow MSM_DGT_BASE to be overriden
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Daniel Walker committed May 13, 2010
1 parent f9f3d31 commit 83a2c0e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/arm/mach-msm/timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@
#include <asm/mach/time.h>
#include <mach/msm_iomap.h>

#ifndef MSM_DGT_BASE
#define MSM_DGT_BASE (MSM_GPT_BASE + 0x10)
#endif
#define MSM_DGT_SHIFT (5)

#define TIMER_MATCH_VAL 0x0000
Expand Down

0 comments on commit 83a2c0e

Please sign in to comment.