drivers: net: fsl_enetc: use write_hwaddr()
authorMichael Walle <michael@walle.cc>
Fri, 20 Dec 2019 13:16:47 +0000 (14:16 +0100)
committerPriyanka Jain <priyanka.jain@nxp.com>
Fri, 24 Jan 2020 08:58:26 +0000 (14:28 +0530)
commitee5c70b8f74e4676327c9415cb8a36a7a7f35d8f
tree59010507e11091206b27f202106e50e822119c4b
parent054f474eaead35ff751f7323cdc5094c63c751d8
drivers: net: fsl_enetc: use write_hwaddr()

Intead of setting the MAC address in enetc_start() use the proper
write_hwaddr(). U-Boot takes care of the random MAC address, too.

Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Alex Marginean <alexandru.marginean@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
drivers/net/fsl_enetc.c