summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorNikhil Badola <nikhil.badola@freescale.com>2014-10-17 03:42:07 (GMT)
committerYork Sun <yorksun@freescale.com>2014-11-24 17:27:04 (GMT)
commitf3dff695e155469c2c62edb7f3d571df8b3b20ad (patch)
treeb956e0036e6a2e63df7a6b0dc7e9327cdc5b0834 /drivers
parentc26c80a1a4e2e2e7e4c9806e9123bf027c02f711 (diff)
downloadu-boot-f3dff695e155469c2c62edb7f3d571df8b3b20ad.tar.xz
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')
-rw-r--r--drivers/usb/host/ehci-fsl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/host/ehci-fsl.c b/drivers/usb/host/ehci-fsl.c
index d5361d7..8f55464 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;