Re: [U-Boot] [PATCH] powerpc/usb: Workaround for erratum-A006261

2014-02-24 Thread York Sun
On 01/30/2014 11:13 AM, Scott Wood wrote: > On Thu, 2014-01-30 at 10:42 +0530, Suresh Gupta wrote: >> +#ifdef CONFIG_SYS_FSL_ERRATUM_A006261 >> +static inline bool has_erratum_a006261(void) >> +{ >> +u32 svr = get_svr(); >> +u32 soc = SVR_SOC_VER(svr); >> + >> +switch (soc) { >> +ca

Re: [U-Boot] [PATCH] powerpc/usb: Workaround for erratum-A006261

2014-01-30 Thread Scott Wood
On Thu, 2014-01-30 at 10:42 +0530, Suresh Gupta wrote: > +#ifdef CONFIG_SYS_FSL_ERRATUM_A006261 > +static inline bool has_erratum_a006261(void) > +{ > + u32 svr = get_svr(); > + u32 soc = SVR_SOC_VER(svr); > + > + switch (soc) { > + case SVR_P1010: > + return IS_SVR_REV(

[U-Boot] [PATCH] powerpc/usb: Workaround for erratum-A006261

2014-01-29 Thread Suresh Gupta
USB spec says that the minimum disconnect threshold should be over 525 mV. However, internal USB PHY threshold value is below this specified value. Due to this some devices disconnect at run-time. Hence, phy settings are tweaked to increased disconnect thresh