drivers : usb: fsl: Implement usb Erratum A007798 workaround
Set TXFIFOTHRESH to adjust ddr pipeline delay for successful large usb writes Signed-off-by: Nikhil Badola <nikhil.badola@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>
This commit is contained in:
@@ -139,6 +139,12 @@ static inline bool has_erratum_a007075(void)
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
static inline bool has_erratum_a007798(void)
|
||||
{
|
||||
return SVR_SOC_VER(get_svr()) == SVR_T4240 &&
|
||||
IS_SVR_REV(get_svr(), 2, 0);
|
||||
}
|
||||
#else
|
||||
static inline bool has_erratum_a006261(void)
|
||||
{
|
||||
@@ -150,5 +156,10 @@ static inline bool has_erratum_a007075(void)
|
||||
return false;
|
||||
}
|
||||
|
||||
static inline bool has_erratum_a007798(void)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif /*_ASM_FSL_USB_H_ */
|
||||
|
Reference in New Issue
Block a user