[U-Boot-Users] FEC 8xx

Wolfgang Denk wd at denx.de
Thu Oct 9 00:09:15 CEST 2003


In message <316F79677E35D411B196001083CFC2DA0164BE96 at ganymed.bln.advaoptical.com> you wrote:
> 
> code in u-boot/cpu/mpc8xx/fec.c 
> for MII speed seems to be wrong in the case that
> busfreq != intfreq 
> (I have 133MHz internally and 66MHz bus)
> 
> current code:
> fecp->fec_mii_speed = ((bd->bi_busfreq + 4999999) / 5000000) << 1; 
> 
> correct:
> fecp->fec_mii_speed = ((bd->bi_intfreq + 4999999) / 5000000) << 1;

Added, thanks. Will show up on CVS soon.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
In the realm of scientific observation, luck is granted only to those
who are prepared.                                     - Louis Pasteur




More information about the U-Boot mailing list