Among other things the power initialization also turns on power for the ethernet phy, so register the fec after power init. Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- arch/arm/boards/freescale-mx51-pdk/board.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boards/freescale-mx51-pdk/board.c b/arch/arm/boards/freescale-mx51-pdk/board.c index 74b32a9..0bb2ffe 100644 --- a/arch/arm/boards/freescale-mx51-pdk/board.c +++ b/arch/arm/boards/freescale-mx51-pdk/board.c @@ -233,10 +233,6 @@ static void babbage_power_init(void) static int f3s_devices_init(void) { - imx51_iim_register_fec_ethaddr(); - imx51_add_fec(&fec_info); - imx51_add_mmc0(NULL); - spi_register_board_info(mx51_babbage_spi_board_info, ARRAY_SIZE(mx51_babbage_spi_board_info)); imx51_add_spi0(&spi_0_data); @@ -247,6 +243,10 @@ static int f3s_devices_init(void) imx51_init_lowlevel(800); clock_notifier_call_chain(); + imx51_iim_register_fec_ethaddr(); + imx51_add_fec(&fec_info); + imx51_add_mmc0(NULL); + armlinux_set_bootparams((void *)0x90000100); armlinux_set_architecture(MACH_TYPE_MX51_BABBAGE); -- 1.7.10 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox