From: Simon Glass Date: Tue, 6 Dec 2011 17:24:13 -0800 Subject: [U-Boot] [PATCH v3 14/16] tegra: usb: Add common USB defines for tegra2 boards In-Reply-To: <1323221055-20113-1-git-send-email-sjg@chromium.org> References: <1323221055-20113-1-git-send-email-sjg@chromium.org> Message-ID: <1323221055-20113-15-git-send-email-sjg@chromium.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de All Tegra2 boards should include tegra2-common. This adds the required USB config to that file. Signed-off-by: Simon Glass --- include/configs/tegra2-common.h | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/include/configs/tegra2-common.h b/include/configs/tegra2-common.h index e6f385f..6549d00 100644 --- a/include/configs/tegra2-common.h +++ b/include/configs/tegra2-common.h @@ -84,6 +84,20 @@ #define CONFIG_SYS_BAUDRATE_TABLE {4800, 9600, 19200, 38400, 57600,\ 115200} +/* + * USB Host. Tegra2 requires USB buffers to be aligned to a word boundary + */ +#define CONFIG_USB_EHCI_DATA_ALIGN 4 + +/* + * 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 /* include default commands */ #include -- 1.7.3.1