mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-22 17:01:14 +00:00
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>
This commit is contained in:
parent
f9f3d31318
commit
83a2c0e4bd
1 changed files with 2 additions and 0 deletions
|
@ -25,7 +25,9 @@
|
||||||
#include <asm/mach/time.h>
|
#include <asm/mach/time.h>
|
||||||
#include <mach/msm_iomap.h>
|
#include <mach/msm_iomap.h>
|
||||||
|
|
||||||
|
#ifndef MSM_DGT_BASE
|
||||||
#define MSM_DGT_BASE (MSM_GPT_BASE + 0x10)
|
#define MSM_DGT_BASE (MSM_GPT_BASE + 0x10)
|
||||||
|
#endif
|
||||||
#define MSM_DGT_SHIFT (5)
|
#define MSM_DGT_SHIFT (5)
|
||||||
|
|
||||||
#define TIMER_MATCH_VAL 0x0000
|
#define TIMER_MATCH_VAL 0x0000
|
||||||
|
|
Loading…
Reference in a new issue