diff options
author | Tom Rini <trini@ti.com> | 2014-11-25 16:51:47 -0500 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-11-26 11:23:26 -0500 |
commit | 85bafb6da4dddfffa78479aa49a72ae48578a4ce (patch) | |
tree | 2f6ec138e922a89a6ec55ae1908cfbf0ddf2c953 /drivers/usb/host/ehci-fsl.c | |
parent | 21008ad6384170767041f1608975473c5ffa7fc7 (diff) | |
parent | 0ab172353e14dbdb7278755de6feae3fc4b54c2f (diff) | |
download | u-boot-imx-85bafb6da4dddfffa78479aa49a72ae48578a4ce.zip u-boot-imx-85bafb6da4dddfffa78479aa49a72ae48578a4ce.tar.gz u-boot-imx-85bafb6da4dddfffa78479aa49a72ae48578a4ce.tar.bz2 |
Merge branch 'master' of git://git.denx.de/u-boot-fsl-qoriq
Diffstat (limited to 'drivers/usb/host/ehci-fsl.c')
-rw-r--r-- | drivers/usb/host/ehci-fsl.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/usb/host/ehci-fsl.c b/drivers/usb/host/ehci-fsl.c index 45062e6..8f55464 100644 --- a/drivers/usb/host/ehci-fsl.c +++ b/drivers/usb/host/ehci-fsl.c @@ -14,7 +14,7 @@ #include <asm/io.h> #include <usb/ehci-fsl.h> #include <hwconfig.h> -#include <asm/fsl_errata.h> +#include <fsl_usb.h> #include "ehci.h" @@ -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; |