Skip to contentSkip to conversation

powerpc/mpc85xx: Update serdes protocols for T1040

PATCH New Prabhakar Kushwaha 2 participants 2 messages Jan 24, 2014 – Feb 3, 2014 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 powerpc/mpc85xx: Update serdes protocols for T1040

T1040 has only one SerDes block. so update the code accordingly.

Also, add support of SerDes Protocol 0x00, 0x06, 0x40, 0x69 0x85, 0xA7 and 0xAA

---
 arch/powerpc/cpu/mpc85xx/fsl_corenet2_serdes.c |    2 +
 arch/powerpc/cpu/mpc85xx/t1040_serdes.c        |   63 ++++++++++--------------
 arch/powerpc/include/asm/fsl_serdes.h          |    8 +--
 3 files changed, 30 insertions(+), 43 deletions(-)
arch/powerpc/cpu/mpc85xx/fsl_corenet2_serdes.c +2 -0
index 25db899..70e09ea 100644
@@ -75,6 +75,8 @@ static const char *serdes_prtcl_str[] = {
 	[XFI_FM2_MAC9] = "XFI_FM2_MAC9",
 	[XFI_FM2_MAC10] = "XFI_FM2_MAC10",
 	[INTERLAKEN] = "INTERLAKEN",
+	[QSGMII_SW1_A] = "QSGMII_SW1_A",
+	[QSGMII_SW1_B] = "QSGMII_SW1_B",
 };
 #endif
 
arch/powerpc/cpu/mpc85xx/t1040_serdes.c +27 -36

95 lines not on this page · raw message

arch/powerpc/include/asm/fsl_serdes.h +1 -7
index 404ded4..f60cb0a 100644
@@ -69,13 +69,7 @@ enum srds_prtcl {
 	XFI_FM2_MAC9,
 	XFI_FM2_MAC10,
 	INTERLAKEN,
-	SGMII_SW1_DTSEC1,	/* SW indicates on L2 switch */
-	SGMII_SW1_DTSEC2,
-	SGMII_SW1_DTSEC3,
-	SGMII_SW1_DTSEC4,
-	SGMII_SW1_DTSEC5,
-	SGMII_SW1_DTSEC6,
-	QSGMII_SW1_A,		/* SW indicates on L2 swtich */
+	QSGMII_SW1_A,		/* Indicates ports on L2 Switch */
 	QSGMII_SW1_B,
 };
 
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 powerpc/mpc85xx: Update serdes protocols for T1040

Quoted 10 lines · Prabhakar Kushwaha

T1040 has only one SerDes block. so update the code accordingly.

Also, add support of SerDes Protocol 0x00, 0x06, 0x40, 0x69 0x85, 0xA7 and 0xAA

---

Applied to u-boot-mpc85xx master branch.

York