]> git.sur5r.net Git - u-boot/commit
net: allow setting env enetaddr from net device setting
authorRob Herring <rob.herring@calxeda.com>
Sat, 14 Apr 2012 18:06:49 +0000 (18:06 +0000)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 11 Jul 2012 18:15:32 +0000 (13:15 -0500)
commitc88ef3c12dcf8596433d52a2631982d9d3a478dd
tree05080575c719163664b67fbb82aedd40a0f63d06
parent66f119e50cc854695a3709c67bf6a6c8ef60f6bc
net: allow setting env enetaddr from net device setting

If the net driver has setup a valid ethernet address and an ethernet
address is not set in the environment already, then set the environment
variables from the net driver setting.

This enables pxe booting on boards which don't set ethaddr env variable.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
doc/README.enetaddr
net/eth.c