projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3b6eef
)
MLK-21871 net: fec: get mac address from fuse for imx8mn platform
author
Fugang Duan
<fugang.duan@nxp.com>
Wed, 22 May 2019 08:35:14 +0000
(16:35 +0800)
committer
Abel Vesa
<abel.vesa@nxp.com>
Tue, 2 Jul 2019 12:53:56 +0000
(15:53 +0300)
Enable imx8mn platform to get mac address from efuse.
Reviewed-by: Richard Zhu <hongxing.zhu@nxp.com>
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
drivers/net/ethernet/freescale/fec_fixup.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/freescale/fec_fixup.c
b/drivers/net/ethernet/freescale/fec_fixup.c
index
5e35578
..
73a6810
100644
(file)
--- a/
drivers/net/ethernet/freescale/fec_fixup.c
+++ b/
drivers/net/ethernet/freescale/fec_fixup.c
@@
-257,7
+257,8
@@
void fec_enet_get_mac_from_fuse(struct device_node *np, unsigned char *mac)
imx8qm_get_mac_from_fuse(idx, mac,
&imx8_fuse_mapping[IMX8QXP_FUSE]);
else if (of_machine_is_compatible("fsl,imx8mq") ||
- of_machine_is_compatible("fsl,imx8mm"))
+ of_machine_is_compatible("fsl,imx8mm") ||
+ of_machine_is_compatible("fsl,imx8mn"))
imx8mq_get_mac_from_fuse(idx, mac);
}