Since we have phylib the phy won't be detected after poweron. It seems the phy needs some time after reset. Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- arch/arm/boards/freescale-mx51-pdk/board.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/boards/freescale-mx51-pdk/board.c b/arch/arm/boards/freescale-mx51-pdk/board.c index 8c6bba5..3a8e5ea 100644 --- a/arch/arm/boards/freescale-mx51-pdk/board.c +++ b/arch/arm/boards/freescale-mx51-pdk/board.c @@ -227,9 +227,11 @@ static void babbage_power_init(void) val = 0x49249; mc13xxx_reg_write(mc13xxx, MC13892_REG_MODE_1, val); - udelay(500); + udelay(200); gpio_set_value(GPIO_LAN8700_RESET, 1); + + mdelay(50); } static int f3s_devices_init(void) -- 1.7.10.4 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox