diff options
author | Nikhil Badola <nikhil.badola@freescale.com> | 2014-10-17 09:12:07 +0530 |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2014-11-24 09:27:04 -0800 |
commit | f3dff695e155469c2c62edb7f3d571df8b3b20ad (patch) | |
tree | b956e0036e6a2e63df7a6b0dc7e9327cdc5b0834 /drivers/usb | |
parent | c26c80a1a4e2e2e7e4c9806e9123bf027c02f711 (diff) |
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>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/host/ehci-fsl.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/host/ehci-fsl.c b/drivers/usb/host/ehci-fsl.c index d5361d7c45..8f554649e1 100644 --- a/drivers/usb/host/ehci-fsl.c +++ b/drivers/usb/host/ehci-fsl.c @@ -130,8 +130,7 @@ int ehci_hcd_init(int index, enum usb_init_type init, in_le32(&ehci->usbmode); - if (SVR_SOC_VER(get_svr()) == SVR_T4240 && - IS_SVR_REV(get_svr(), 2, 0)) + if (has_erratum_a007798()) set_txfifothresh(ehci, TXFIFOTHRESH); return 0; |