fsl/fman: tolerate missing MAC address in device tree
authorMadalin Bucur <madalin.bucur@oss.nxp.com>
Thu, 5 Mar 2020 17:08:57 +0000 (19:08 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Mar 2020 05:02:54 +0000 (22:02 -0700)
commitf3353b99022583cc17142146cdc4dd6a770fbc7f
tree7e4381ae0eb16f1e3ccee1ea8ed01edb4398d705
parent6b995bdefc10b47e4d443b3a5dafb92f5bb09268
fsl/fman: tolerate missing MAC address in device tree

Allow the initialization of the MAC to be performed even if the
device tree does not provide a valid MAC address. Later a random
MAC address should be assigned by the Ethernet driver.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Madalin Bucur <madalin.bucur@oss.nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fman/fman_dtsec.c
drivers/net/ethernet/freescale/fman/fman_memac.c
drivers/net/ethernet/freescale/fman/fman_tgec.c
drivers/net/ethernet/freescale/fman/mac.c