davinci: Add base address and timer flexibility
authorMark A. Greer <mgreer@mvista.com>
Wed, 15 Apr 2009 19:40:11 +0000 (12:40 -0700)
committerKevin Hilman <khilman@deeprootsystems.com>
Tue, 26 May 2009 15:19:04 +0000 (08:19 -0700)
commitf64691b3ab795268072e76ddb89290b6277cdf33
treecc8de5ab3c90674905f6d8e141bcf345a81121f4
parent673dd36f0d0cf8893d6b46d524ad80e81076b885
davinci: Add base address and timer flexibility

The davinci timer code currently hardcodes the timer register
base addresses, the timer irq numbers, and the timers to use
for clock events and clocksource.  This won't work for some
a new SoC so put those values into the soc_info structure
and set them up in the SoC-specific files.

Signed-off-by: Mark A. Greer <mgreer@mvista.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-davinci/devices.c
arch/arm/mach-davinci/dm355.c
arch/arm/mach-davinci/dm644x.c
arch/arm/mach-davinci/dm646x.c
arch/arm/mach-davinci/include/mach/common.h
arch/arm/mach-davinci/include/mach/time.h [new file with mode: 0644]
arch/arm/mach-davinci/time.c