summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-02-27 10:52:51 (GMT)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-03-29 06:12:49 (GMT)
commit0291091c9e4dffce1f278d6b87ac123f389595df (patch)
tree7c78f726cf591cc54f977c9b3b14fd0ee3cda24e
parentf10393e501ede54d2d19a2ad1d533dbe7c926f26 (diff)
downloadu-boot-fsl-qoriq-0291091c9e4dffce1f278d6b87ac123f389595df.tar.xz
tegra: usb: Add common USB defines for tegra2 boards
All Tegra2 boards should include tegra2-common. This adds the required USB config to that file. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com>
-rw-r--r--include/configs/tegra2-common.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/configs/tegra2-common.h b/include/configs/tegra2-common.h
index e6f385f..266d0e5 100644
--- a/include/configs/tegra2-common.h
+++ b/include/configs/tegra2-common.h
@@ -84,6 +84,16 @@
#define CONFIG_SYS_BAUDRATE_TABLE {4800, 9600, 19200, 38400, 57600,\
115200}
+/*
+ * This parameter affects a TXFILLTUNING field that controls how much data is
+ * sent to the latency fifo before it is sent to the wire. Without this
+ * parameter, the default (2) causes occasional Data Buffer Errors in OUT
+ * packets depending on the buffer address and size.
+ */
+#define CONFIG_USB_EHCI_TXFIFO_THRESH 10
+#define CONFIG_EHCI_IS_TDI
+#define CONFIG_EHCI_DCACHE
+
/* include default commands */
#include <config_cmd_default.h>