summaryrefslogtreecommitdiff
path: root/board/dhelectronics/common/dh_imx.h
blob: be2ff5e076c260318c81a83b47b99ab460800d4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* SPDX-License-Identifier: GPL-2.0+
 *
 * Copyright 2022 DENX Software Engineering GmbH, Philip Oberfichtner <[email protected]>
 */

/*
 * dh_imx_get_mac_from_fuse - Get MAC address from fuse and write it to env
 *
 * @enetaddr: buffer where address is to be stored
 * @index: index of MAC address in fuse (starts with 0)
 * Return: 0 if OK, other value on error
 */
int dh_imx_get_mac_from_fuse(unsigned char *enetaddr, int index);