msm: Generalize timer register mappings
authorDavid Brown <davidb@codeaurora.org>
Fri, 7 Jan 2011 18:20:49 +0000 (10:20 -0800)
committerDavid Brown <davidb@codeaurora.org>
Fri, 21 Jan 2011 23:27:50 +0000 (15:27 -0800)
commit8c27e6f305242ffab0c88eed5dea8394b8ce86d0
tree1fdcfc10f74a18883848b7273edd9f7e01cbcefe
parent87fa28e972c223f69c1315a1b2ddb2a11d33ad0e
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>
arch/arm/mach-msm/include/mach/msm_iomap-7x00.h
arch/arm/mach-msm/include/mach/msm_iomap-7x30.h
arch/arm/mach-msm/include/mach/msm_iomap-8x50.h
arch/arm/mach-msm/include/mach/msm_iomap-8x60.h
arch/arm/mach-msm/include/mach/msm_iomap.h
arch/arm/mach-msm/io.c
arch/arm/mach-msm/timer.c