]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit0e0ba212dc032f38d167efc36c7a5d6f314b6cd7
tree59010507e11091206b27f202106e50e822119c4b
parent1d297ff9122b45ab030f236b14b9d2d43480d6c2
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