From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Pelland Date: Tue, 30 Jul 2019 09:40:22 -0400 Subject: [U-Boot] [PATCH] net: mvpp2: support setting hardware addresses from ethernet core In-Reply-To: References: Message-ID: <20190730134023.16923-1-mpelland@starry.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > On Sat, Jun 1, 2019 at 1:39 PM Joe Hershberger wrote: > > > > On Wed, May 8, 2019 at 2:36 PM Matt Pelland wrote: > > > > > > 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 > > > --- > > > drivers/net/mvpp2.c | 8 ++++++++ > > > 1 file changed, 8 insertions(+) > > > > > > diff --git a/drivers/net/mvpp2.c b/drivers/net/mvpp2.c > > > index bcc6fe92a9..d2d17f1417 100644 > > > --- a/drivers/net/mvpp2.c > > > +++ b/drivers/net/mvpp2.c > > > @@ -5321,6 +5321,13 @@ static void mvpp2_stop(struct udevice *dev) > > > mvpp2_cleanup_txqs(port); > > > } > > > > > > +static mvpp2_write_hwaddr(struct udevice *dev) > > > > This breaks the build. The function must return an int. > > Should we expect an update to this patch or drop it from patchwork? Hi Joe, Many apologies for the delay on this. I had my email filters misconfigured and things were getting sent to an archive instead of my inbox. I've cleaned up the patch in question. Thanks, Matt