To enable automatic probing of the phy.
Signed-off-by: Sascha Hauer <[email protected]>
---
drivers/net/fec_imx.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/fec_imx.c b/drivers/net/fec_imx.c
index 1a85d15..25d8d8e 100644
--- a/drivers/net/fec_imx.c
+++ b/drivers/net/fec_imx.c
@@ -707,6 +707,7 @@ static int fec_probe(struct device_d *dev)
if (dev->device_node) {
ret = fec_probe_dt(dev, fec);
+ fec->phy_addr = -1;
} else if (pdata) {
fec->interface = pdata->xcv_type;
fec->phy_init = pdata->phy_init;
--
1.8.2.rc2
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox