[U-Boot] [PATCH] drivers: net: fsl-mc: Fixup MAC addresses in DPC
york sun
york.sun at nxp.com
Mon Feb 6 18:06:02 UTC 2017
On 01/11/2017 07:58 AM, Bogdan Purcareata wrote:
> 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>
> ---
> drivers/net/fsl-mc/mc.c | 103 +++++++++++++++++++++++++++++++++++++++++++++++-
> 1 file changed, 101 insertions(+), 2 deletions(-)
>
Applied to u-boot-qoriq master. Thanks.
York
More information about the U-Boot
mailing list