Skip to content
Commit eb949061 authored by Huifeng Zhang's avatar Huifeng Zhang Committed by Carles Cufí
Browse files

drivers: timer: arm_arch_timer: assign a initial value to last_cycle



On FVP platform, when parameter 'bp.refcounter.use_real_time' is set
to 1, cntvct_el0 isn't count from 0 and may cause overflow issue in
first timer compare interrupt.

'bp.refcounter.use_real_time' is 0 by default.

Signed-off-by: default avatarHuifeng Zhang <Huifeng.Zhang@arm.com>
parent 79d076be
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment