mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 07:34:31 +00:00
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>
This commit is contained in:
parent
0e9d23945c
commit
9d4194f179
2 changed files with 2 additions and 2 deletions
|
@ -198,4 +198,6 @@ unsigned long call_imx_sip(unsigned long id, unsigned long reg0,
|
||||||
unsigned long call_imx_sip_ret2(unsigned long id, unsigned long reg0,
|
unsigned long call_imx_sip_ret2(unsigned long id, unsigned long reg0,
|
||||||
unsigned long *reg1, unsigned long reg2,
|
unsigned long *reg1, unsigned long reg2,
|
||||||
unsigned long reg3);
|
unsigned long reg3);
|
||||||
|
|
||||||
|
void imx_get_mac_from_fuse(int dev_id, unsigned char *mac);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -273,8 +273,6 @@ struct fec_priv {
|
||||||
u32 clk_rate;
|
u32 clk_rate;
|
||||||
};
|
};
|
||||||
|
|
||||||
void imx_get_mac_from_fuse(int dev_id, unsigned char *mac);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Numbers of buffer descriptors for receiving
|
* @brief Numbers of buffer descriptors for receiving
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue