aboutsummaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2020-05-03 22:41:19 +0800
committerStefano Babic <sbabic@denx.de>2020-05-10 20:55:20 +0200
commit9d4194f179b2c19c6732b9e2794a3d5153144492 (patch)
tree6a90f113622db969469a1d04173856c564aabcde /arch/arm
parent0e9d23945ce0b739a6ac13c11b0fdaba09a8dacc (diff)
downloadu-boot-9d4194f179b2c19c6732b9e2794a3d5153144492.zip
u-boot-9d4194f179b2c19c6732b9e2794a3d5153144492.tar.gz
u-boot-9d4194f179b2c19c6732b9e2794a3d5153144492.tar.bz2
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 'arch/arm')
-rw-r--r--arch/arm/include/asm/mach-imx/sys_proto.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/mach-imx/sys_proto.h b/arch/arm/include/asm/mach-imx/sys_proto.h
index b91b213..927195f 100644
--- a/arch/arm/include/asm/mach-imx/sys_proto.h
+++ b/arch/arm/include/asm/mach-imx/sys_proto.h
@@ -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 *reg1, unsigned long reg2,
unsigned long reg3);
+
+void imx_get_mac_from_fuse(int dev_id, unsigned char *mac);
#endif