[U-Boot-Users] cpu/mpc8xx/cpu.c version 1.7 breaks get_tbclk for mpc850

Wolfgang Denk wd at denx.de
Sat Feb 7 01:28:12 CET 2004


Dear Paul,

in message <76C7EB7C8500594F9001B118E7E778F48F4CFF at mdsms3.inside.mdsroc.com> you wrote:
> In 'cpu/mpc8xx/cpu.c' the 'get_tbclk()' function was modified to check the
> immr PARTNUM and MASKNUM fields in an attempt to identify newer parts.
> 
> As it is now, if the PARTNUM field is >= 0x08 the osclk divisor is
> calculated for newer parts.  However, an 850s PARTNUM field is 0x20.  This
> causes the divisor to be calculated incorrectly using the 'new' method.
> 
> I don't know all the PARTNUM fields so I can't really fix this.  I'm just
> commenting it out for now.

Can yopu please test and confirm that the current code in CVS  is  OK
for you, too?

Best regards,

Wolfgang Denk

-- 
See us @ Embedded World, Nuremberg, Feb 17 - 19,  Hall 12.0 Booth 440
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
"Today's robots are very primitive, capable of understanding  only  a
few  simple  instructions  such  as 'go left', 'go right', and 'build
car'."                                                  - John Sladek




More information about the U-Boot mailing list