[U-Boot] [PATCH 1/4] net: extend the netdev to have a common way to set the hw mac address

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Mon May 11 14:08:09 CEST 2009


On 03:48 Mon 11 May     , Mike Frysinger wrote:
> On Monday 11 May 2009 02:39:26 Jean-Christophe PLAGNIOL-VILLARD wrote:
> > this will allow to add later a hook to update the enetadd hw storage
> > when it's updated in env or when the env is saved
> 
> there is no need for that on purpose.  the network layer will recheck the 
> environment every time it gets initialized, and it gets initialized with every 
> network step.  this is already documented in doc/README.enetaddr.
Unfortunatly we need it to set the enetaddr in the register of the soc evenif
there is no ethernet transfer as for the macb on at91 or the dm9000.
This how the kernel pass the mac address for the bootloader.

Best Regards,
J.


More information about the U-Boot mailing list