summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2021-08-07 11:01:03 +0300
committerStefano Babic <sbabic@denx.de>2021-08-09 15:46:51 +0300
commit525a28c47fa5b3872982d9926c7746726f0c67a6 (patch)
tree2956723d88de3513c85b67f12d12c61aa732a4bb /arch
parent16243a1735fcaf3647d209b44b7de5c367d6bbd3 (diff)
downloadu-boot-525a28c47fa5b3872982d9926c7746726f0c67a6.tar.xz
arm: imx8ulp: add dummy imx_get_mac_from_fuse
Add imx_get_mac_from_fuse for enet build pass Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-imx/imx8ulp/soc.c5
1 files changed, 5 insertions, 0 deletions
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);
+}