Commit 81d21e98b00c45372aaa9f47a6e9035f8daf843f

Authored by Jim Lin
Committed by Tom Warren
1 parent 7dcd3a21ff

ARM: config: USB: Tegra30/114: Fix EHCI timeout issue on "bootp"

Fix the timeout issue after running "bootp" command in u-boot
console. For example you see "EHCI timed out on TD- token=0x...".
TXFIFOTHRES bits of TXFILLTUNING register should be set to 0x10
after a controller reset and before RUN bit is set
(per technical reference manual).

Signed-off-by: Jim Lin <jilin@nvidia.com>
Tested-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>

Showing 2 changed files with 2 additions and 0 deletions Side-by-side Diff

include/configs/tegra114-common.h
... ... @@ -82,6 +82,7 @@
82 82  
83 83 /* For USB EHCI controller */
84 84 #define CONFIG_EHCI_IS_TDI
  85 +#define CONFIG_USB_EHCI_TXFIFO_THRESH 0x10
85 86  
86 87 #endif /* _TEGRA114_COMMON_H_ */
include/configs/tegra30-common.h
... ... @@ -79,6 +79,7 @@
79 79  
80 80 /* For USB EHCI controller */
81 81 #define CONFIG_EHCI_IS_TDI
  82 +#define CONFIG_USB_EHCI_TXFIFO_THRESH 0x10
82 83  
83 84 #endif /* _TEGRA30_COMMON_H_ */