[U-Boot-Users] FEC 8xx

Hello,
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;
Frank

In message 316F79677E35D411B196001083CFC2DA0164BE96@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
participants (2)
-
Frank Müller
-
Wolfgang Denk