[U-Boot] [PATCH] armv8: fsl-layerscape: added XFI protocol support for fsl_lsch3

shh.xie at gmail.com shh.xie at gmail.com
Tue Nov 10 12:11:54 CET 2015


From: Shaohui Xie <Shaohui.Xie at freescale.com>

This needed to init dpmac.

Signed-off-by: Shaohui Xie <Shaohui.Xie at freescale.com>
---
 arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch3_serdes.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch3_serdes.c b/arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch3_serdes.c
index 2ab8da6..67c3a45 100644
--- a/arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch3_serdes.c
+++ b/arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch3_serdes.c
@@ -120,6 +120,10 @@ void serdes_init(u32 sd, u32 sd_addr, u32 sd_prctl_mask, u32 sd_prctl_shift,
 					   lane_prtcl <= SGMII16)
 					wriop_init_dpmac(sd, lane + 1,
 							 (int)lane_prtcl);
+				 if (lane_prtcl >= XFI1 &&
+				     lane_prtcl <= XFI8)
+					wriop_init_dpmac(sd, lane + 1,
+							 (int)lane_prtcl);
 				break;
 			}
 #endif
-- 
2.1.0.27.g96db324



More information about the U-Boot mailing list