[PATCH 33/37] arm: imx8ulp: add dummy imx_get_mac_from_fuse

Peng Fan (OSS) peng.fan at oss.nxp.com
Mon Apr 12 14:13:02 CEST 2021


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

Add imx_get_mac_from_fuse for enet build pass

Signed-off-by: Peng Fan <peng.fan at 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 733654f7ba..e999cbca73 100644
--- a/arch/arm/mach-imx/imx8ulp/soc.c
+++ b/arch/arm/mach-imx/imx8ulp/soc.c
@@ -678,3 +678,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



More information about the U-Boot mailing list