armv8: fsl-layerscape: added XFI protocol support for fsl_lsch3
PATCH 1/1 armv8: fsl-layerscape: added XFI protocol support for fsl_lsch3
From: Shaohui Xie <[email protected]>
This needed to init dpmac.
Signed-off-by Shaohui Xie <[email protected]>
--- arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch3_serdes.c | 4 ++++ 1 file changed, 4 insertions(+)
arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch3_serdes.c +4 -0
@@ -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
Signature · 1 line
2.1.0.27.g96db324
PATCH 1/1 armv8: fsl-layerscape: added XFI protocol support for fsl_lsch3
Please ignore this patch, I just saw some Freescale internal changes, the patch is obsolete.
Best Regards,
Shaohui Xie
Quoted 36 lines
-----Original Message-----
From: shh.xie at gmail.com [mailto:shh.xie at gmail.com]
Sent: Tuesday, November 10, 2015 7:12 PM
To: u-boot at lists.denx.de; Sun York-R58495
Cc: Xie Shaohui-B21989
Subject: [PATCH] armv8: fsl-layerscape: added XFI protocol support forfsl_lsch3From: Shaohui Xie <[email protected]>
This needed to init dpmac.
Signed-off-by Shaohui Xie <[email protected]>--- arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch3_serdes.c | 4 ++++ 1 file changed, 4 insertions(+)arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch3_serdes.c +4
-0@@ -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