msm: Generalize timer register mappings

Allow the timer register to be determined dynamically instead of at
compile time.  Use common virtual addresses for the registers across
all MSM chips, and select the register mappings based on the detected
CPU.

Signed-off-by: David Brown <davidb@codeaurora.org>
This commit is contained in:
David Brown 2011-01-07 10:20:49 -08:00
commit 8c27e6f305
7 changed files with 55 additions and 70 deletions