Menu

#3 Incorrect value from get_tbclk()

closed
nobody
None
5
2001-12-05
2001-05-11
Anonymous
No

The function get_tbclk() from cpu/mpc8xx/cpu.c returns an incorrect value for targets that
have a clock divisor of 1 (i.e. 50MHz input clock). The patch I am enclosing applies a fix, although
I have tested this only on the target I am working on. However, it does match the description
in the Moto User Manual, whereas the original code was slightly off. Let me know if have any
questions.

Regards,
Daris Nevil
SNMC
dnevil@snmc.com

Discussion

  • Nobody/Anonymous

    Patch to fix get_tbclk() in cpu/mpc8xx/cpu.c

     
  • Wolfgang Denk

    Wolfgang Denk - 2001-12-05
    • status: open --> closed
     
  • Wolfgang Denk

    Wolfgang Denk - 2001-12-05

    Logged In: YES
    user_id=38532

    Fixed in current releases.

     

Log in to post a comment.