[U-Boot] [PATCH v3 2/2] drivers: net: fsl-mc: Include MAC addr fixup to DPL

york sun york.sun at nxp.com
Fri Jun 2 17:46:49 UTC 2017


On 05/24/2017 09:40 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>
> ---
> v2 -> v3:
> - no changes
> 
> v1 -> v2:
> - initialize variables to fix compiler warnings
> - remove prints
> 
>   drivers/net/fsl-mc/mc.c | 258 ++++++++++++++++++++++++++++++++++++------------
>   1 file changed, 195 insertions(+), 63 deletions(-)
> 

Minor reformatting commit message to wrap back before 70 characters.
Applied to fsl-qoriq master, awaiting upstream. Thanks.

York


More information about the U-Boot mailing list