projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
drivers : usb: fsl: Implement usb Erratum A007798 workaround
[platform/kernel/u-boot.git]
/
drivers
/
usb
/
host
/
ehci-fsl.c
diff --git
a/drivers/usb/host/ehci-fsl.c
b/drivers/usb/host/ehci-fsl.c
index
45062e6
..
8f55464
100644
(file)
--- 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/io.h>
#include <usb/ehci-fsl.h>
#include <hwconfig.h>
-#include <
asm/fsl_errata
.h>
+#include <
fsl_usb
.h>
#include "ehci.h"
#include "ehci.h"
@@
-130,8
+130,7
@@
int ehci_hcd_init(int index, enum usb_init_type init,
in_le32(&ehci->usbmode);
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;
set_txfifothresh(ehci, TXFIFOTHRESH);
return 0;