ARM: mach-shmobile: Introduce shmobile_setup_delay()
authorMagnus Damm <damm@opensource.se>
Wed, 28 Mar 2012 10:22:30 +0000 (19:22 +0900)
committerRafael J. Wysocki <rjw@sisk.pl>
Wed, 11 Apr 2012 10:11:48 +0000 (12:11 +0200)
commit0f2c9f20e4e339de30cfd5613dfa9505e7b9c58b
treecdeac60cb531a28d2890bf2dda3709fd9572e4c0
parent0034102808e0dbbf3a2394b82b1bb40b5778de9e
ARM: mach-shmobile: Introduce shmobile_setup_delay()

Add the function shmobile_setup_delay() to let platforms
configure their maximum loops per jiffy delay. With this
jiffies calculation done the dependency on early timer
is removed.

In the future this allows us to assign timers
using the regular driver model via the device tree.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
arch/arm/mach-shmobile/include/mach/common.h
arch/arm/mach-shmobile/timer.c