[Patch V3 34/44] arm: imx8ulp: add dummy imx_get_mac_from_fuse

Peng Fan (OSS)
2021-07-19T07:20:20Z

From: Peng Fan <peng.fan@nxp.com>

Add imx_get_mac_from_fuse for enet build pass

Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
arch/arm/mach-imx/imx8ulp/soc.c | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/arch/arm/mach-imx/imx8ulp/soc.c b/arch/arm/mach-imx/imx8ulp/soc.c
index 39156ab543..513c4166c9 100644
--- a/arch/arm/mach-imx/imx8ulp/soc.c
+++ b/arch/arm/mach-imx/imx8ulp/soc.c
@@ -531,3 +531,8 @@ __weak void __noreturn jump_to_image_no_args(struct spl_image_info *spl_image)
;
}
#endif
+
+void imx_get_mac_from_fuse(int dev_id, unsigned char *mac)
+{
+ memset(mac, 0, 6);
+}
--
2.30.0