Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f3b7cd2a authored by Rob Herring's avatar Rob Herring
Browse files

ARM: highbank: enable sp804 based sched_clock



Initialize sched_clock to use the sp804 timer.

Signed-off-by: default avatarRob Herring <rob.herring@calxeda.com>
parent a7bf6162
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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");
}
}