Skip to content
Snippets Groups Projects
Commit b78b48c6 authored by Heiko Schocher's avatar Heiko Schocher Committed by Wolfgang Denk
Browse files

net, fec_mxc: only setup the device enetaddr with eeprom value


Only fill the device enetaddr with the contents of the eeprom,
do not program it in MAC address registers

Signed-off-by: default avatarHeiko Schocher <hs@denx.de>
Acked-by: default avatarBen Warren <biggerbadderben@gmail.com>
parent d5a64237
No related branches found
No related tags found
No related merge requests found
......@@ -752,7 +752,6 @@ static int fec_probe(bd_t *bd)
if (fec_get_hwaddr(edev, ethaddr) == 0) {
printf("got MAC address from EEPROM: %pM\n", ethaddr);
memcpy(edev->enetaddr, ethaddr, 6);
fec_set_hwaddr(edev);
}
return 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment