summaryrefslogtreecommitdiff
path: root/board/dhelectronics/common/dh_imx.h
diff options
context:
space:
mode:
Diffstat (limited to 'board/dhelectronics/common/dh_imx.h')
-rw-r--r--board/dhelectronics/common/dh_imx.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/board/dhelectronics/common/dh_imx.h b/board/dhelectronics/common/dh_imx.h
new file mode 100644
index 00000000000..284f8637fb8
--- /dev/null
+++ b/board/dhelectronics/common/dh_imx.h
@@ -0,0 +1,12 @@
+/* SPDX-License-Identifier: GPL-2.0+
+ *
+ * Copyright 2022 DENX Software Engineering GmbH, Philip Oberfichtner <pro@denx.de>
+ */
+
+/*
+ * dh_imx_get_mac_from_fuse - Get MAC address from fuse and write it to env
+ *
+ * @enetaddr: buffer where address is to be stored
+ * Return: 0 if OK, other value on error
+ */
+int dh_imx_get_mac_from_fuse(unsigned char *enetaddr);