mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] ARM AT91 pm9263: Fix phy address
@ 2013-01-26 11:26 Sascha Hauer
  0 siblings, 0 replies; only message in thread
From: Sascha Hauer @ 2013-01-26 11:26 UTC (permalink / raw)
  To: barebox

The ethernet phy address is wrong so no phy is found. Autodetect it.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 arch/arm/boards/pm9263/init.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boards/pm9263/init.c b/arch/arm/boards/pm9263/init.c
index f7ef148..0be5cf5 100644
--- a/arch/arm/boards/pm9263/init.c
+++ b/arch/arm/boards/pm9263/init.c
@@ -90,7 +90,7 @@ static void pm_add_device_nand(void)
 
 static struct at91_ether_platform_data macb_pdata = {
 	.is_rmii = 1,
-	.phy_addr = 0,
+	.phy_addr = -1,
 };
 
 static void pm9263_phy_init(void)
-- 
1.7.10.4


_______________________________________________
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:[~2013-01-26 11:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-26 11:26 [PATCH] ARM AT91 pm9263: Fix phy address Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox