Skip to contentSkip to conversation

powerpc/mpc85xx: Serdes protocol "00" is supported

PATCH New Ebony Zhu 2 participants 2 messages Sep 4, 2014 – Sep 25, 2014 PowerPC

lore
Share & tools
lore

Ebony Zhu

author
#0 lore raw

PATCH 1/1 powerpc/mpc85xx: Serdes protocol "00" is supported

"0x00" is a valid serdes protocol for QorIQ parts, and can not be used to test whether the serdes is enabled or disabled.

---
 arch/powerpc/cpu/mpc85xx/fsl_corenet2_serdes.c | 5 -----
 1 file changed, 5 deletions(-)
arch/powerpc/cpu/mpc85xx/fsl_corenet2_serdes.c +0 -5
index d1fc76a..8edf5bb 100644
@@ -186,11 +186,6 @@ u64 serdes_init(u32 sd, u32 sd_addr, u32 sd_prctl_mask, u32 sd_prctl_shift)
 #endif
 
 	cfg = in_be32(&gur->rcwsr[4]) & sd_prctl_mask;
-	/* Is serdes enabled at all? */
-	if (!cfg) {
-		printf("SERDES%d is not enabled\n", sd + 1);
-		return 0;
-	}
 
 /* Erratum A-007186
  * Freescale Scratch Pad Fuse Register n (SFP_FSPFR0)
Signature · 1 line
1.8.3.1
#1 lore raw

PATCH 1/1 powerpc/mpc85xx: Serdes protocol "00" is supported

Quoted 8 lines · Ebony Zhu

"0x00" is a valid serdes protocol for QorIQ parts, and can not be used to test whether the serdes is enabled or disabled.

---
 arch/powerpc/cpu/mpc85xx/fsl_corenet2_serdes.c | 5 -----
 1 file changed, 5 deletions(-)

Applied to u-boot-mpc85xx, awaiting upstream.

York