[U-Boot-Users] FEC 8xx

Frank Müller FMueller at advaoptical.de
Thu Sep 18 14:53:30 CEST 2003


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




More information about the U-Boot mailing list