On Thu, Nov 15, 2012 at 11:41:04AM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: > the phy reset neet to be done before the fec driver is registered > as we accesst the phy at the fec probe time I spotted that aswell in the meantime. Applied, thanks Sascha > > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@xxxxxxxxxxxx> > --- > arch/arm/boards/freescale-mx53-loco/board.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/arch/arm/boards/freescale-mx53-loco/board.c b/arch/arm/boards/freescale-mx53-loco/board.c > index 45c05c2..216d26a 100644 > --- a/arch/arm/boards/freescale-mx53-loco/board.c > +++ b/arch/arm/boards/freescale-mx53-loco/board.c > @@ -187,6 +187,7 @@ static int loco_devices_init(void) > { > > imx53_iim_register_fec_ethaddr(); > + loco_fec_reset(); > imx53_add_fec(&fec_info); > imx53_add_mmc0(&loco_sd1_data); > imx53_add_mmc2(&loco_sd3_data); > @@ -196,8 +197,6 @@ static int loco_devices_init(void) > if (IS_ENABLED(CONFIG_USB_EHCI)) > loco_ehci_init(); > > - loco_fec_reset(); > - > set_silicon_rev(imx_silicon_revision()); > > armlinux_set_bootparams((void *)0x70000100); > -- > 1.7.10.4 > > > _______________________________________________ > barebox mailing list > barebox@xxxxxxxxxxxxxxxxxxx > http://lists.infradead.org/mailman/listinfo/barebox > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox