[PATCH V5 34/44] arm: imx8ulp: add dummy imx_get_mac_from_fuse

Peng Fan (OSS) peng.fan at oss.nxp.com
Sat Aug 7 10:01:03 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 e5985c4cf1..0728cb9847 100644
--- a/arch/arm/mach-imx/imx8ulp/soc.c
+++ b/arch/arm/mach-imx/imx8ulp/soc.c
@@ -532,3 +532,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