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