Re: [U-Boot] [PATCH 2/4] fsl_*_serdes.c: Modify memset call in serdes_init

2015-12-14 Thread York Sun
On 11/28/2015 09:04 PM, Tom Rini wrote: > GCC 5.x does not like sizeof(array_variable) and errors out. Change these > calls to be instead sizeof(u8) (as that's what serdes_prtcl_map is) * > SERDES_PRCTL_COUNT (the number of array elements). > > Cc: York Sun > Signed-off-by: Tom Rini > --- Ap

Re: [U-Boot] [PATCH 2/4] fsl_*_serdes.c: Modify memset call in serdes_init

2015-11-29 Thread Bin Meng
On Sat, Nov 28, 2015 at 9:04 PM, Tom Rini wrote: > GCC 5.x does not like sizeof(array_variable) and errors out. Change these > calls to be instead sizeof(u8) (as that's what serdes_prtcl_map is) * > SERDES_PRCTL_COUNT (the number of array elements). > > Cc: York Sun > Signed-off-by: Tom Rini >

[U-Boot] [PATCH 2/4] fsl_*_serdes.c: Modify memset call in serdes_init

2015-11-28 Thread Tom Rini
GCC 5.x does not like sizeof(array_variable) and errors out. Change these calls to be instead sizeof(u8) (as that's what serdes_prtcl_map is) * SERDES_PRCTL_COUNT (the number of array elements). Cc: York Sun Signed-off-by: Tom Rini --- arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch2_serdes.c | 2 +