Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 83a2c0e4 authored by Daniel Walker's avatar Daniel Walker
Browse files

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: default avatarDaniel Walker <dwalker@codeaurora.org>
parent f9f3d313
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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