diff options
Diffstat (limited to 'arch/arm/mach-iop13xx/iq81340mc.c')
-rw-r--r-- | arch/arm/mach-iop13xx/iq81340mc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-iop13xx/iq81340mc.c b/arch/arm/mach-iop13xx/iq81340mc.c index a519d707571c..1ae08cc04b48 100644 --- a/arch/arm/mach-iop13xx/iq81340mc.c +++ b/arch/arm/mach-iop13xx/iq81340mc.c | |||
@@ -79,7 +79,9 @@ static void __init iq81340mc_init(void) | |||
79 | 79 | ||
80 | static void __init iq81340mc_timer_init(void) | 80 | static void __init iq81340mc_timer_init(void) |
81 | { | 81 | { |
82 | iop_init_time(400000000); | 82 | unsigned long bus_freq = iop13xx_core_freq() / iop13xx_xsi_bus_ratio(); |
83 | printk(KERN_DEBUG "%s: bus frequency: %lu\n", __FUNCTION__, bus_freq); | ||
84 | iop_init_time(bus_freq); | ||
83 | } | 85 | } |
84 | 86 | ||
85 | static struct sys_timer iq81340mc_timer = { | 87 | static struct sys_timer iq81340mc_timer = { |