aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-orion5x/kurobox_pro-setup.c
diff options
context:
space:
mode:
authorLennert Buytenhek <buytenh@wantstofly.org>2008-08-28 23:55:51 -0400
committerNicolas Pitre <nico@cam.org>2008-09-25 16:26:44 -0400
commitebe35aff883496c07248df82c8576c3b6e84bbbe (patch)
tree89120d403604b79e894c0e5683c9fb335d2c3460 /arch/arm/mach-orion5x/kurobox_pro-setup.c
parent1f8081f539a80c3d36a17ecd094d104eae60c01c (diff)
[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>
Diffstat (limited to 'arch/arm/mach-orion5x/kurobox_pro-setup.c')
-rw-r--r--arch/arm/mach-orion5x/kurobox_pro-setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-orion5x/kurobox_pro-setup.c b/arch/arm/mach-orion5x/kurobox_pro-setup.c
index cb72f1bb9cb7..171ffaf98ddf 100644
--- a/arch/arm/mach-orion5x/kurobox_pro-setup.c
+++ b/arch/arm/mach-orion5x/kurobox_pro-setup.c
@@ -291,7 +291,7 @@ static void kurobox_pro_power_off(void)
291 const unsigned char shutdownwait[] = {0x00, 0x0c}; 291 const unsigned char shutdownwait[] = {0x00, 0x0c};
292 const unsigned char poweroff[] = {0x00, 0x06}; 292 const unsigned char poweroff[] = {0x00, 0x06};
293 /* 38400 baud divisor */ 293 /* 38400 baud divisor */
294 const unsigned divisor = ((ORION5X_TCLK + (8 * 38400)) / (16 * 38400)); 294 const unsigned divisor = ((orion5x_tclk + (8 * 38400)) / (16 * 38400));
295 295
296 pr_info("%s: triggering power-off...\n", __func__); 296 pr_info("%s: triggering power-off...\n", __func__);
297 297