[U-Boot] [PATCH] drivers: net: fsl-mc: Fixup MAC addresses in DPC

Prabhakar Kushwaha prabhakar.kushwaha at nxp.com
Thu Jan 26 14:05:40 CET 2017


> -----Original Message-----
> From: Bogdan Purcareata [mailto:bogdan.purcareata at nxp.com]
> Sent: Thursday, January 11, 2017 9:35 AM
> To: u-boot at lists.denx.de
> Cc: Bogdan Purcareata <bogdan.purcareata at nxp.com>
> Subject: [PATCH] drivers: net: fsl-mc: Fixup MAC addresses in DPC
> 
> Fixup port_mac_address property in MC DPC with values from the u-boot
> environment. Since u-boot already reads the environment MAC addresses
> when probing the PHYs, use these values.
> 
> The u-boot environment MAC addresses take precedence over any eventual
> ones defined in the DPC, except for the case where they are randomly
> assigned (no u-boot env value declared for port).
> 
> The patch assumes the "/board_info/ports/" node is present in the DPC.
> 
> Signed-off-by: Bogdan Purcareata <bogdan.purcareata at nxp.com>

Reviewed-by: Prabhakar Kushwaha <prabhakar.kushwaha at nxp.com>


More information about the U-Boot mailing list