diff options
author | Ye Li <ye.li@nxp.com> | 2020-05-03 22:41:19 +0800 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2020-05-10 20:55:20 +0200 |
commit | 9d4194f179b2c19c6732b9e2794a3d5153144492 (patch) | |
tree | 6a90f113622db969469a1d04173856c564aabcde /drivers | |
parent | 0e9d23945ce0b739a6ac13c11b0fdaba09a8dacc (diff) | |
download | u-boot-9d4194f179b2c19c6732b9e2794a3d5153144492.tar.gz |
fec: Move imx_get_mac_from_fuse declare to imx file
imx_get_mac_from_fuse is used to load MAC address from fuse. On imx8mp,
we have two different ENET controllers and both need to call this
function. So decouple its declare from fec driver.
Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/fec_mxc.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/fec_mxc.h b/drivers/net/fec_mxc.h index 3c8fdda263..0e8f08a51a 100644 --- a/drivers/net/fec_mxc.h +++ b/drivers/net/fec_mxc.h @@ -273,8 +273,6 @@ struct fec_priv { u32 clk_rate; }; -void imx_get_mac_from_fuse(int dev_id, unsigned char *mac); - /** * @brief Numbers of buffer descriptors for receiving * |