9
0
Fork 0

ARM i.MX51 babbage: move fec init after power init

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@pengutronix.de>
This commit is contained in:
Sascha Hauer 2012-05-16 10:31:17 +02:00
parent 0d188aca53
commit 583c66afeb
1 changed files with 4 additions and 4 deletions

View File

@ -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);