Skip to content
Snippets Groups Projects
Commit cc67f4a6 authored by Nikita Kiryanov's avatar Nikita Kiryanov Committed by Stefano Babic
Browse files

arm: mx6: cm-fx6: change dtb node for ethaddr


When passing eth address to Linux via dtb, the "local-mac-address"
property should be set for "/soc/aips-bus@02100000/ethernet@02188000",
not "/fec".

Signed-off-by: default avatarNikita Kiryanov <nikita@compulab.co.il>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Igor Grinberg <grinberg@compulab.co.il>
Acked-by: default avatarIgor Grinberg <grinberg@compulab.co.il>
parent 508a6ede
No related branches found
No related tags found
No related merge requests found
...@@ -464,8 +464,9 @@ int ft_board_setup(void *blob, bd_t *bd) ...@@ -464,8 +464,9 @@ int ft_board_setup(void *blob, bd_t *bd)
/* MAC addr */ /* MAC addr */
if (eth_getenv_enetaddr("ethaddr", enetaddr)) { if (eth_getenv_enetaddr("ethaddr", enetaddr)) {
fdt_find_and_setprop(blob, "/fec", "local-mac-address", fdt_find_and_setprop(blob,
enetaddr, 6, 1); "/soc/aips-bus@02100000/ethernet@02188000",
"local-mac-address", enetaddr, 6, 1);
} }
return 0; 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