net: mvpp2: support setting hardware addresses from ethernet core
authorMatt Pelland <mpelland@starry.com>
Tue, 30 Jul 2019 13:40:24 +0000 (09:40 -0400)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 4 Sep 2019 16:37:19 +0000 (11:37 -0500)
commita37c082248220a30caacc7804575cae6f885506b
tree3fffe8dd605c0f76309f67b534ac5ce39958f732
parent7660d5c120698a1fb85ea38ad2bed1438ef5ebb1
net: mvpp2: support setting hardware addresses from ethernet core

mvpp2 already has support for setting MAC addresses but this
functionality was not exposed to the ethernet core. This commit exposes
this functionality so that MAC address assignments stored in U-Boot's
environment are correctly applied before Linux boots.

Signed-off-by: Matt Pelland <mpelland@starry.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/mvpp2.c