[U-Boot] [PATCH 2/2] drivers: net: fsl-mc: Include MAC addr fixup in DPL
Bogdan Purcareata
bogdan.purcareata at nxp.com
Fri May 19 06:16:21 UTC 2017
> -----Original Message-----
> From: york sun
> Sent: Friday, May 19, 2017 12:04 AM
> To: Bogdan Purcareata <bogdan.purcareata at nxp.com>; Prabhakar Kushwaha
> <prabhakar.kushwaha at nxp.com>; u-boot at lists.denx.de
> Cc: Heinz Wrobel <heinz.wrobel at nxp.com>
> Subject: Re: [PATCH 2/2] drivers: net: fsl-mc: Include MAC addr fixup in
> DPL
>
> On 05/18/2017 04:19 AM, Bogdan Purcareata wrote:
> > Previous to MC v10.x, port mac address was specified via DPL. Since
> > newer MC versions are compatible with old style DPLs, make the u-boot
> > env mac addresses visible there. This applies only to DPLs that have an
> > older version.
> >
> > DPLs use 32 bit values for specifying MAC addresses. U-boot environment
> > variables take precedence over the MAC addresses already visible in the
> > DPL/DPC.
> >
> > Signed-off-by: Bogdan Purcareata <bogdan.purcareata at nxp.com>
> > Signed-off-by: Heinz Wrobel <heinz.wrobel at nxp.com>
> > ---
> > drivers/net/fsl-mc/mc.c | 260 ++++++++++++++++++++++++++++++++++++------
> ------
> > 1 file changed, 197 insertions(+), 63 deletions(-)
> >
>
> I see compiling warning about uninitialized variables "val" and "len".
> Please fix.
Thank you, will send v2.
Regards,
Bogdan P.
More information about the U-Boot
mailing list