summaryrefslogtreecommitdiff
path: root/board/compulab
diff options
context:
space:
mode:
authorNikita Kiryanov <nikita@compulab.co.il>2015-01-14 10:42:42 +0200
committerStefano Babic <sbabic@denx.de>2015-01-29 17:42:27 +0100
commitcc67f4a63ff3c6ed0b8fab35ce4af6e683296e47 (patch)
tree5804be2137b46a4aeebf16d369b83e3a9de53062 /board/compulab
parent508a6edea92877f81972a4ab04d1e2d5549030ec (diff)
downloadu-boot-imx-cc67f4a63ff3c6ed0b8fab35ce4af6e683296e47.zip
u-boot-imx-cc67f4a63ff3c6ed0b8fab35ce4af6e683296e47.tar.gz
u-boot-imx-cc67f4a63ff3c6ed0b8fab35ce4af6e683296e47.tar.bz2
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: Nikita Kiryanov <nikita@compulab.co.il> Cc: Stefano Babic <sbabic@denx.de> Cc: Igor Grinberg <grinberg@compulab.co.il> Acked-by: Igor Grinberg <grinberg@compulab.co.il>
Diffstat (limited to 'board/compulab')
-rw-r--r--board/compulab/cm_fx6/cm_fx6.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/board/compulab/cm_fx6/cm_fx6.c b/board/compulab/cm_fx6/cm_fx6.c
index 84e3643..5ddf8c6 100644
--- a/board/compulab/cm_fx6/cm_fx6.c
+++ b/board/compulab/cm_fx6/cm_fx6.c
@@ -464,8 +464,9 @@ int ft_board_setup(void *blob, bd_t *bd)
/* MAC addr */
if (eth_getenv_enetaddr("ethaddr", enetaddr)) {
- fdt_find_and_setprop(blob, "/fec", "local-mac-address",
- enetaddr, 6, 1);
+ fdt_find_and_setprop(blob,
+ "/soc/aips-bus@02100000/ethernet@02188000",
+ "local-mac-address", enetaddr, 6, 1);
}
return 0;