* [PATCH] ARM i.MX51 babbage: move fec init after power init
@ 2012-05-16 18:26 Sascha Hauer
0 siblings, 0 replies; only message in thread
From: Sascha Hauer @ 2012-05-16 18:26 UTC (permalink / raw)
To: barebox
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>
---
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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-05-16 18:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-16 18:26 [PATCH] ARM i.MX51 babbage: move fec init after power init Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox