[U-Boot] [PATCH] net/eth.c: fix eth_write_hwaddr() to use dev->enetaddr as fall back

Wolfgang Denk wd at denx.de
Tue Jan 17 10:52:51 CET 2012


Dear Zach Sadecki,

In message <4F149CCB.6070307 at itwatchdogs.com> you wrote:
> This patch will also fix a problem with mx28 boards that are depending 
> on the OCOTP bits to set the MAC address (like the Denx m28 board).  Now 
> it simply fails with a "Warning: failed to set MAC address" if there's 
> no environment variable instead of using the OCOTP bits like it should.  
> This patch will fix that.

But there _should_ always be a warning message if the environment
variable is missing.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Heavier than air flying machines are impossible.
                    -- Lord Kelvin, President, Royal Society, c. 1895


More information about the U-Boot mailing list