[U-Boot] [PATCH 2/3] sbc8548: use proper PHY address

Paul Gortmaker paul.gortmaker at windriver.com
Thu Dec 11 21:47:50 CET 2008


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 at windriver.com>
---
 include/configs/sbc8548.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/configs/sbc8548.h b/include/configs/sbc8548.h
index 49fd6e5..b27b282 100644
--- a/include/configs/sbc8548.h
+++ b/include/configs/sbc8548.h
@@ -402,8 +402,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
-- 
1.6.0.4



More information about the U-Boot mailing list