From patchwork Mon Dec 3 14:17:58 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nikita Kiryanov X-Patchwork-Id: 203361 X-Patchwork-Delegate: marek.vasut@gmail.com 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 D9D152C007E for ; Tue, 4 Dec 2012 01:19:56 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B81964A053; Mon, 3 Dec 2012 15:19:54 +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 suadUpdLtfww; Mon, 3 Dec 2012 15:19:54 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D85F24A08D; Mon, 3 Dec 2012 15:19:49 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E8D974A08D for ; Mon, 3 Dec 2012 15:19:47 +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 vLZkWmQFUODz for ; Mon, 3 Dec 2012 15:19:47 +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 compulab.co.il (softlayer.compulab.co.il [50.23.254.55]) by theia.denx.de (Postfix) with ESMTPS id 0C37F4A053 for ; Mon, 3 Dec 2012 15:19:45 +0100 (CET) Received: from [62.90.235.247] (port=25610 helo=zimbra-mta.compulab.co.il) by softlayer.compulab.co.il with esmtp (Exim 4.80) (envelope-from ) id 1TfWs3-0005Gu-Mt; Mon, 03 Dec 2012 16:19:43 +0200 Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra-mta.compulab.co.il (Postfix) with ESMTP id 3EF25644198; Mon, 3 Dec 2012 16:19:43 +0200 (IST) X-Virus-Scanned: amavisd-new at compulab.co.il Received: from zimbra-mta.compulab.co.il ([127.0.0.1]) by localhost (zimbra-mta.compulab.co.il [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YWH7yimhz9Fy; Mon, 3 Dec 2012 16:19:42 +0200 (IST) Received: from compulab.co.il (unknown [192.168.1.141]) by zimbra-mta.compulab.co.il (Postfix) with ESMTP id 82FF9644194; Mon, 3 Dec 2012 16:19:42 +0200 (IST) Received: by compulab.co.il (Postfix, from userid 1000) id 02F15FC017D; Mon, 3 Dec 2012 16:19:41 +0200 (IST) From: Nikita Kiryanov To: u-boot@lists.denx.de Date: Mon, 3 Dec 2012 16:17:58 +0200 Message-Id: <1354544278-30863-1-git-send-email-nikita@compulab.co.il> X-Mailer: git-send-email 1.7.10.4 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - softlayer.compulab.co.il X-AntiAbuse: Original Domain - lists.denx.de X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - compulab.co.il X-Get-Message-Sender-Via: softlayer.compulab.co.il: acl_c_relayhosts_text_entry: nikita@compulab.co.il|compulab.co.il Subject: [U-Boot] [PATCH] cm_t35: use new low level interface for usb ehci 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: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Update usb host support to use new version of omap_ehci_hcd_init. Signed-off-by: Nikita Kiryanov --- Explanation: apparently there was a failed remote update and I did not have the latest version of the code. @Marek: If it's possible to fold this into commit "cm-t35: add USB host support" that would be greatly appreciated. board/cm_t35/cm_t35.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/cm_t35/cm_t35.c b/board/cm_t35/cm_t35.c index 19367df..dd55d47 100644 --- a/board/cm_t35/cm_t35.c +++ b/board/cm_t35/cm_t35.c @@ -503,7 +503,7 @@ struct omap_usbhs_board_data usbhs_bdata = { }; #define SB_T35_USB_HUB_RESET_GPIO 167 -int ehci_hcd_init(void) +int ehci_hcd_init(int index, struct ehci_hccr **hccr, struct ehci_hcor **hcor) { u8 val; int offset; @@ -529,7 +529,7 @@ int ehci_hcd_init(void) twl4030_i2c_write_u8(TWL4030_CHIP_GPIO, 0xC0, offset); udelay(1); - return omap_ehci_hcd_init(&usbhs_bdata); + return omap_ehci_hcd_init(&usbhs_bdata, hccr, hcor); } int ehci_hcd_stop(void)