[U-Boot] [PATCH v2 4/5] mpc85xx/powerpc: P5040: Apply errata A006261 for P5040

york sun york.sun at nxp.com
Mon Jul 18 18:27:53 CEST 2016


Same comment to the subject line.

On 07/17/2016 08:47 PM, Sriram Dash wrote:
> Apply USB errata A006261 for P5040.

Please add explanation the same erratum applies to P5040 rev 2.0.

>
> Signed-off-by: Sriram Dash <sriram.dash at nxp.com>
> Signed-off-by: Rajesh Bhagat <rajesh.bhagat at nxp.com>
> ---
>  drivers/usb/common/fsl-errata.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/usb/common/fsl-errata.c b/drivers/usb/common/fsl-errata.c
> index 122e17b..765b25a 100644
> --- a/drivers/usb/common/fsl-errata.c
> +++ b/drivers/usb/common/fsl-errata.c
> @@ -73,7 +73,8 @@ bool has_erratum_a006261(void)
>  	case SVR_T2081:
>  		return IS_SVR_REV(svr, 1, 0);
>  	case SVR_P5040:
> -		return IS_SVR_REV(svr, 1, 0);
> +		return IS_SVR_REV(svr, 1, 0) ||
> +			IS_SVR_REV(svr, 2, 0) || IS_SVR_REV(svr, 2, 1);

Because the official document doesn't include these versions, please add 
a comment saying this erratum applies to affected revisions.

York


>  #endif
>  	}
>
>



More information about the U-Boot mailing list