[U-Boot-Users] [PATCH] Fix 8555CDS

Andy Fleming afleming at gmail.com
Fri Jan 19 21:17:36 CET 2007


The following patch fixes the TSEC bug on MPC8555CDS board with 88E1145
PHY. MPC8548CDS works at RGMII mode, but MPC8555CDS works GMII mode,
there is no need to set RGMII except for MPC8548CDS TSEC.

Signed-off-by:York Sun <r58495 at freescale.com>
Signed-off-by:Haiying Wang <r54964 at freescale.com>
Signed-off-by:Ebony Zhu <ebony.zhu at freescale.com>
Signed-off-by: Roy Zang <tie-fei.zang at freescale.com>
Signed-off-by: Andy Fleming <afleming at freescale.com>
---
 drivers/tsec.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/tsec.c b/drivers/tsec.c
index 2524e4f..848217f 100644
--- a/drivers/tsec.c
+++ b/drivers/tsec.c
@@ -866,7 +866,9 @@ static struct phy_info phy_info_M88E1145
 			   {MIIM_ANAR, MIIM_ANAR_INIT, NULL},
 			   {MIIM_88E1011_PHY_SCR, MIIM_88E1011_PHY_MDI_X_AUTO,
 			    NULL},
+#if defined(CONFIG_MPC8548CDS)
 			   {MIIM_88E1145_PHY_EXT_CR, 0, &m88e1145_setmode},
+#endif
 			   {MIIM_CONTROL, MIIM_CONTROL_RESET, NULL},
 			   {MIIM_CONTROL, MIIM_CONTROL_INIT, NULL},
 			   {miim_end,}
-- 
1.4.0




More information about the U-Boot mailing list