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

Shaohui Xie Shaohui.Xie at freescale.com
Tue Nov 10 12:45:32 CET 2015


Please ignore this patch, I just saw some Freescale internal changes, the patch is obsolete.

Best Regards, 
Shaohui Xie

> -----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 for
> fsl_lsch3
> 
> 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