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.d...@nxp.com> > Signed-off-by: Rajesh Bhagat <rajesh.bha...@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 > } > > _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot