[ARM] Orion: prepare for runtime-determined timer tick rate
authorLennert Buytenhek <buytenh@wantstofly.org>
Fri, 29 Aug 2008 03:55:51 +0000 (05:55 +0200)
committerNicolas Pitre <nico@cam.org>
Thu, 25 Sep 2008 20:26:44 +0000 (16:26 -0400)
commitebe35aff883496c07248df82c8576c3b6e84bbbe
tree89120d403604b79e894c0e5683c9fb335d2c3460
parent1f8081f539a80c3d36a17ecd094d104eae60c01c
[ARM] Orion: prepare for runtime-determined timer tick rate

Currently, orion5x uses a hardcoded timer tick rate of 166 MHz, but
the actual timer tick rate varies between different members of the SoC
family (and can vary based on strap pin settings).

This patch prepares for runtime determination of the timer tick rate.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
arch/arm/mach-orion5x/common.c
arch/arm/mach-orion5x/common.h
arch/arm/mach-orion5x/include/mach/timex.h
arch/arm/mach-orion5x/kurobox_pro-setup.c
arch/arm/mach-orion5x/tsx09-common.c