RTEMS | bsps/leon3: Fix LEON3 timer initialization (!1189)

Matteo Concas (@matteo.concas) gitlab at rtems.org
Thu Apr 9 15:53:02 UTC 2026



Merge request https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1189 was reviewed by Matteo Concas

--
  
Matteo Concas started a new discussion on bsps/sparc/leon3/start/amba.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1189#note_148307

 > -      grlib_store_32(&LEON3_Timer_Regs->sreload, leon3_timer_prescaler);
 > +    if (leon3_timer_prescaler) {
 > +      grlib_store_32(timer_regs->sreload, leon3_timer_prescaler);

Running a build today, I have noticed it should be `&timer_regs->sreload` instead of `timer_regs->sreload`


-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1189
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260409/106505fa/attachment-0001.htm>


More information about the bugs mailing list