From: Paul Gortmaker <paul.gortmaker@windriver.com>
Date: Thu, 11 Dec 2008 20:47:50 +0000 (-0500)
Subject: sbc8548: use proper PHY address
X-Git-Tag: v2025.01-rc5-pxa1908~21631^2~6
X-Git-Url: http://git.dujemihanovic.xyz/html/static/gitweb.css?a=commitdiff_plain;h=58da8890d5fbd074746037722a423de9ac408616;p=u-boot.git

sbc8548: use proper PHY address

The values given for the PHY address were wrong, so the code
read no valid PHY ID, and fell through to the generic PHY
support, which would work on 1000M but would not auto negotiate
down to 100M or 10M.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
---

diff --git a/include/configs/sbc8548.h b/include/configs/sbc8548.h
index 8a7b0da4d0..8141a46dc0 100644
--- a/include/configs/sbc8548.h
+++ b/include/configs/sbc8548.h
@@ -401,8 +401,8 @@
 #define CONFIG_TSEC2_NAME	"eTSEC1"
 #undef CONFIG_MPC85XX_FEC
 
-#define TSEC1_PHY_ADDR		0
-#define TSEC2_PHY_ADDR		1
+#define TSEC1_PHY_ADDR		0x19
+#define TSEC2_PHY_ADDR		0x1a
 
 #define TSEC1_PHYIDX		0
 #define TSEC2_PHYIDX		0