From patchwork Mon Feb 27 20:52:51 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 143284 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id EA747B6FD9 for ; Tue, 28 Feb 2012 07:56:10 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 32E86283A2; Mon, 27 Feb 2012 21:55:26 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nTVpsCUTYTPo; Mon, 27 Feb 2012 21:55:25 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 2D54628398; Mon, 27 Feb 2012 21:54:02 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 010BF28356 for ; Mon, 27 Feb 2012 21:53:30 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ouh7LMYHMH9i for ; Mon, 27 Feb 2012 21:53:29 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-gx0-f202.google.com (mail-gx0-f202.google.com [209.85.161.202]) by theia.denx.de (Postfix) with ESMTPS id 2603828333 for ; Mon, 27 Feb 2012 21:53:24 +0100 (CET) Received: by ggnp1 with SMTP id p1so585539ggn.3 for ; Mon, 27 Feb 2012 12:53:23 -0800 (PST) Received-SPF: pass (google.com: domain of sjg@google.com designates 10.236.131.138 as permitted sender) client-ip=10.236.131.138; Authentication-Results: mr.google.com; spf=pass (google.com: domain of sjg@google.com designates 10.236.131.138 as permitted sender) smtp.mail=sjg@google.com Received: from mr.google.com ([10.236.131.138]) by 10.236.131.138 with SMTP id m10mr29428947yhi.7.1330376003645 (num_hops = 1); Mon, 27 Feb 2012 12:53:23 -0800 (PST) Received: by 10.236.131.138 with SMTP id m10mr19507514yhi.7.1330376003637; Mon, 27 Feb 2012 12:53:23 -0800 (PST) MIME-Version: 1.0 Received: by 10.236.131.138 with SMTP id m10mr19507486yhi.7.1330376003574; Mon, 27 Feb 2012 12:53:23 -0800 (PST) Received: from wpzn3.hot.corp.google.com (216-239-44-65.google.com [216.239.44.65]) by gmr-mx.google.com with ESMTPS id e44si9018692yhk.0.2012.02.27.12.53.23 (version=TLSv1/SSLv3 cipher=AES128-SHA); Mon, 27 Feb 2012 12:53:23 -0800 (PST) Received: from sglass.mtv.corp.google.com (sglass.mtv.corp.google.com [172.22.72.144]) by wpzn3.hot.corp.google.com (Postfix) with ESMTP id 7679E100069; Mon, 27 Feb 2012 12:53:23 -0800 (PST) Received: by sglass.mtv.corp.google.com (Postfix, from userid 121222) id 558611412D6; Mon, 27 Feb 2012 12:53:23 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Date: Mon, 27 Feb 2012 12:52:51 -0800 Message-Id: <1330375973-10681-19-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 1.7.7.3 In-Reply-To: <1330375973-10681-1-git-send-email-sjg@chromium.org> References: <1330375973-10681-1-git-send-email-sjg@chromium.org> X-Gm-Message-State: ALoCoQn4pHflGGcdhAFlbcFQEUvkvHHxC60wFcg2lAaYvgGgtnzRWdn1AaDADODhIHLY5xvQOKmY4/975NyMLEFlTNdXVKFuEGjfa9xpqMJVa34CHsJbQgB4UbcQPV3axKmb+Pb3lf2Z4BkIZ7ANJk3aN9cr4JOLeMT0fco5ia+52bOCgzPi9C4= Cc: linux-tegra@vger.kernel.org, Tom Warren Subject: [U-Boot] [PATCH v6 18/20] tegra: usb: Add common USB defines for tegra2 boards X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de All Tegra2 boards should include tegra2-common. This adds the required USB config to that file. Signed-off-by: Simon Glass --- Changes in v5: - Add CONFIG_EHCI_DCACHE which is needed for dcache operation - Drop unused CONFIG_USB_EHCI_DATA_ALIGN option include/configs/tegra2-common.h | 10 ++++++++++ 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