net: dwc_eth_qos: introduce eqos hook eqos_get_enetaddr
authorPeng Fan <peng.fan@nxp.com>
Tue, 26 Jul 2022 08:41:17 +0000 (16:41 +0800)
committerStefano Babic <sbabic@denx.de>
Tue, 26 Jul 2022 09:29:01 +0000 (11:29 +0200)
commita624251461bf9750d8a11545972fe575fc4cbf85
tree97a37f774fb8efc840b6d87b76c62fd010c5c094
parenta6acf95508e268d6311408d24339b42fe6e5be14
net: dwc_eth_qos: introduce eqos hook eqos_get_enetaddr

i.MX has specific hook to get MAC address, so introduce a hook and move
i.MX code to its own driver

Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/net/dwc_eth_qos.c
drivers/net/dwc_eth_qos.h
drivers/net/dwc_eth_qos_imx.c