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

Detlev Zundel dzu at denx.de
Thu Mar 25 14:16:55 CET 2010


Hi Wolfgang,

>> 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?

As I said before, this is documented in doc/README.drivers.eth.  If you
want to change this, then maybe one should first fix the documentation
to know what is actually wanted.  I certainly have lost track of what is
wanted and what is sensible.

Cheers
  Detlev

-- 
Programming X-Windows is like trying to find the square root of pi
using roman numerals.
                                          -- The UNIX Haters Handbook
--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de


More information about the U-Boot mailing list