Skip to content
Snippets Groups Projects
Commit 07c4eea4 authored by Ebony Zhu's avatar Ebony Zhu Committed by York Sun
Browse files

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.

Signed-off-by: default avatarEbony Zhu <b45385@freescale.com>
Reviewed-by: default avatarYork Sun <yorksun@freescale.com>
parent 1de271b4
No related branches found
No related tags found
No related merge requests found
...@@ -186,11 +186,6 @@ u64 serdes_init(u32 sd, u32 sd_addr, u32 sd_prctl_mask, u32 sd_prctl_shift) ...@@ -186,11 +186,6 @@ u64 serdes_init(u32 sd, u32 sd_addr, u32 sd_prctl_mask, u32 sd_prctl_shift)
#endif #endif
cfg = in_be32(&gur->rcwsr[4]) & sd_prctl_mask; 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 /* Erratum A-007186
* Freescale Scratch Pad Fuse Register n (SFP_FSPFR0) * Freescale Scratch Pad Fuse Register n (SFP_FSPFR0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment