summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-orion5x/common.h
diff options
context:
space:
mode:
authorLennert Buytenhek <buytenh@wantstofly.org>2008-08-29 05:55:51 +0200
committerNicolas Pitre <nico@cam.org>2008-09-25 16:26:44 -0400
commitebe35aff883496c07248df82c8576c3b6e84bbbe (patch)
tree89120d403604b79e894c0e5683c9fb335d2c3460 /arch/arm/mach-orion5x/common.h
parent1f8081f539a80c3d36a17ecd094d104eae60c01c (diff)
downloadblackbird-op-linux-ebe35aff883496c07248df82c8576c3b6e84bbbe.tar.gz
blackbird-op-linux-ebe35aff883496c07248df82c8576c3b6e84bbbe.zip
[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/common.h')
-rw-r--r--arch/arm/mach-orion5x/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-orion5x/common.h b/arch/arm/mach-orion5x/common.h
index e75bd7004b94..c8598cc7cd58 100644
--- a/arch/arm/mach-orion5x/common.h
+++ b/arch/arm/mach-orion5x/common.h
@@ -10,6 +10,7 @@ struct mv_sata_platform_data;
void orion5x_map_io(void);
void orion5x_init_irq(void);
void orion5x_init(void);
+extern int orion5x_tclk;
extern struct sys_timer orion5x_timer;
/*
OpenPOWER on IntegriCloud