[U-Boot] [PATCH v2] net: Update hardware MAC address if it changes in env
Joe Hershberger
joe.hershberger at gmail.com
Mon Mar 30 20:08:04 CEST 2015
Hi Michal,
On Tue, Mar 24, 2015 at 2:41 AM, Joe Hershberger <joe.hershberger at ni.com>
wrote:
>
> When the ethaddr changes in the env, the hardware should also be updated
> so that MAC filtering will work properly without resetting U-Boot.
>
> Also remove the manual calls to set the hwaddr that was included in a
> few drivers as a result of the framework not doing it.
>
> Reported-by: Michal Simek <michal.simek at xilinx.com>
> Signed-off-by: Joe Hershberger <joe.hershberger at ni.com>
>
> ---
>
> Changes in v2:
> -Implement the check in non-DM eth_initialize also
> -Use static helper function in DM case
>
> drivers/net/bcm-sf2-eth.c | 6 ----
> drivers/net/designware.c | 4 ---
> drivers/net/macb.c | 9 ------
> net/eth.c | 76
++++++++++++++++++++++++++++++-----------------
> 4 files changed, 48 insertions(+), 47 deletions(-)
Does this sufficiently resolve the issue you have?
Thanks,
-Joe
More information about the U-Boot
mailing list