[U-Boot] [PATCH] net, fec_mxc: use mac address stored in env before looking in eeprom

Mike Frysinger vapier at gentoo.org
Thu Mar 25 18:38:17 CET 2010


On Thursday 25 March 2010 05:40:01 Wolfgang Denk wrote:
> Heiko wrote:
> > Ok, but this driver initialize in fec_probe() (which gets called
> > through fecmxc_initialize() on uboot startup) always the fec mac
> > address registers with eeprom mac address. So, if uboot not uses
> 
> The question to me is why fec_probe() is called at all, even in cases
> where U-Boot does not use any network related commands. This is IMO
> wrong. Eventually somebody comes up with patches to fix this?

the current fec_mxc driver has squashed the initialize and probe steps.  it 
should have half the things removed from probe and put into initialize and 
then the call to probe moved to the init step.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20100325/eafcb2b9/attachment.pgp 


More information about the U-Boot mailing list