From: Jim Lin <jilin@nvidia.com>
Date: Fri, 24 Jan 2014 19:46:19 +0000 (-0700)
Subject: ARM: tegra: fix "bootp" issue for Tegra124 too
X-Git-Tag: v2025.01-rc5-pxa1908~15470^2~160^2~15
X-Git-Url: http://git.dujemihanovic.xyz/img/html/static/%7B%7B%20%28.OutputFormats.Get?a=commitdiff_plain;h=7bc5c8c93032a7b86e268a172955e15b84f1aac3;p=u-boot.git

ARM: tegra: fix "bootp" issue for Tegra124 too

Fix the timeout issue after running "bootp" command in U-Boot console.

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>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Tested-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
---

diff --git a/include/configs/tegra124-common.h b/include/configs/tegra124-common.h
index 32d5bc9c95..0a4541bd20 100644
--- a/include/configs/tegra124-common.h
+++ b/include/configs/tegra124-common.h
@@ -78,5 +78,6 @@
 
 /* For USB EHCI controller */
 #define CONFIG_EHCI_IS_TDI
+#define CONFIG_USB_EHCI_TXFIFO_THRESH	0x10
 
 #endif /* _TEGRA124_COMMON_H_ */