Skip to content
Commit c48971cc authored by Wayne Ren's avatar Wayne Ren Committed by Anas Nashif
Browse files

driver: arcv2_timer0: fixes and optimize the timer driver



* MIN_DELAY: 1024 -> 512
* optimzie some code sequence
* fix a bug in setting the new timer limit value
   * case: before set limit register with new value,
     if counter rolls back to 0, the limit value should be
     adjusted.

Signed-off-by: default avatarWayne Ren <wei.ren@synopsys.com>
parent db022a96
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment