[PATCH] ARM AT91 pm9263: Fix phy address

Sascha Hauer s.hauer at pengutronix.de
Sat Jan 26 06:26:16 EST 2013


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

Signed-off-by: Sascha Hauer <s.hauer at 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




More information about the barebox mailing list