Skip to content
Commit 7b9f1d16 authored by David Engraf's avatar David Engraf Committed by Daniel Lezcano
Browse files

clocksource/drivers/tcb_clksrc: Use 32 bit tcb as sched_clock



On newer boards the TC can be read as single 32 bit value without locking.
Thus the clock can be used as reference for sched_clock which is much more
accurate than the jiffies implementation.

Tested on a Atmel SAMA5D2 board.

Signed-off-by: default avatarDavid Engraf <david.engraf@sysgo.com>
Acked-by: default avatarNicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
parent 4750535b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment