#3961 closed defect (fixed)

bsps/arm: CPU counter based on arm generic timer doesn't work correctly

Reported by: Christian Mauderer Owned by: Christian Mauderer
Priority: normal Milestone: 5.1
Component: arch/arm Version: 5
Severity: normal Keywords:
Cc: Blocked By:
Blocking: #3456


On at least the imx BSP the CPU counter based on the arm generic timer isn't initialized correctly. The frequency is set to 0.

Change History (1)

comment:1 Changed on 04/20/20 at 07:08:59 by Christian Mauderer <christian.mauderer@…>

Resolution: fixed
Status: assignedclosed

In 222d6879/rtems:

bsps/arm: Fix uninitialized value in generic timer

_CPU_Counter_frequency() can be called by the rtems_counter
initialization before arm_gt_clock_initialize() initializes the value
used in _CPU_Counter_frequency().

Closes #3961.

Note: See TracTickets for help on using tickets.