[U-Boot] [PATCH v1] net: Update hardware MAC address if it changes in env

Joe Hershberger joe.hershberger at gmail.com
Tue Mar 24 07:54:05 CET 2015


On Tue, Mar 24, 2015 at 1:49 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>
>
> ---
>
>  drivers/net/bcm-sf2-eth.c |  6 ------
>  drivers/net/designware.c  |  4 ----
>  drivers/net/macb.c        |  9 ---------
>  net/eth.c                 | 15 +++++++++++++--
>  4 files changed, 13 insertions(+), 21 deletions(-)

This requires dm/next


More information about the U-Boot mailing list