ARM: highbank: enable sp804 based sched_clock

Initialize sched_clock to use the sp804 timer.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
This commit is contained in:
Rob Herring 2012-01-16 08:06:09 -06:00
parent a7bf616208
commit f3b7cd2a9e

View File

@ -109,7 +109,7 @@ static void __init highbank_timer_init(void)
highbank_clocks_init(); highbank_clocks_init();
sp804_clocksource_init(timer_base + 0x20, "timer1"); sp804_clocksource_and_sched_clock_init(timer_base + 0x20, "timer1");
sp804_clockevents_init(timer_base, irq, "timer0"); sp804_clockevents_init(timer_base, irq, "timer0");
} }