From patchwork Tue Jul 3 09:38:10 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?=C5=81ukasz_Majewski?= X-Patchwork-Id: 168752 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 05FE52C00F5 for ; Tue, 3 Jul 2012 19:39:27 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 1CBF2280EA; Tue, 3 Jul 2012 11:39:08 +0200 (CEST) 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 QH+dkDwA8LTD; Tue, 3 Jul 2012 11:39:07 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 6A30E280EE; Tue, 3 Jul 2012 11:38:54 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id BB719280C8 for ; Tue, 3 Jul 2012 11:38:51 +0200 (CEST) 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 HuSSnqVaNoo1 for ; Tue, 3 Jul 2012 11:38:51 +0200 (CEST) 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 mailout4.samsung.com (mailout4.samsung.com [203.254.224.34]) by theia.denx.de (Postfix) with ESMTP id 486F1280B7 for ; Tue, 3 Jul 2012 11:38:39 +0200 (CEST) Received: from epcpsbgm1.samsung.com (mailout4.samsung.com [203.254.224.34]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0M6K0006QW1MW3W0@mailout4.samsung.com> for u-boot@lists.denx.de; Tue, 03 Jul 2012 18:38:38 +0900 (KST) X-AuditID: cbfee61a-b7f086d000000e64-98-4ff2bd9e9f12 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id BA.7A.03684.E9DB2FF4; Tue, 03 Jul 2012 18:38:38 +0900 (KST) Received: from mcdsrvbld02.digital.local ([106.116.37.23]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0M6K0019TW3PXE40@mmp2.samsung.com> for u-boot@lists.denx.de; Tue, 03 Jul 2012 18:38:38 +0900 (KST) From: Lukasz Majewski To: u-boot@lists.denx.de Date: Tue, 03 Jul 2012 11:38:10 +0200 Message-id: <1341308291-14663-7-git-send-email-l.majewski@samsung.com> X-Mailer: git-send-email 1.7.10 In-reply-to: <1341308291-14663-1-git-send-email-l.majewski@samsung.com> References: <1341308291-14663-1-git-send-email-l.majewski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrCJMWRmVeSWpSXmKPExsVy+t9jQd15ez/5G8yZzm3xdm8nuwOjx9k7 OxgDGKO4bFJSczLLUov07RK4MvbeP8RcMIGjou/PTKYGxsdsXYycHBICJhKrv05ih7DFJC7c Ww8U5+IQEpjOKDF3VTcThLOYSWJC7wWwDjYBPYnPd58ygdgiAhISv/qvMoIUMQvMYpSYcOk+ WEJYwEviyKvDLCA2i4CqxIa/PYwgNq+Am8SUpjWMEOvkJZ7e7wMbyingLnFv+y4wWwio5srT 2WwTGHkXMDKsYhRNLUguKE5KzzXUK07MLS7NS9dLzs/dxAj2+zOpHYwrGywOMQpwMCrx8Bpu /uQvxJpYVlyZe4hRgoNZSYT36hagEG9KYmVValF+fFFpTmrxIUZpDhYlcd4m6wv+QgLpiSWp 2ampBalFMFkmDk6pBsbD+RLvilRbG8WEEzdvnWYW4ba07sFS77nrNY0Utstufmt7dO4Etouv JN/IZbkzLuFnjNz0JsVxp0T4uoiXPyNPK7l4iyQ8N91jHZTXwdevM12Xa8G+GxtaNBo0J/H/ b/h2P76+SLq7qsL/wZ+zfy+v/ioq6nnPdZkLk3PAoWcTLzbEF7uU+iixFGckGmoxFxUnAgD4 K2vR9wEAAA== X-TM-AS-MML: No Cc: Marek Vasut , Kyungmin Park Subject: [U-Boot] [PATCH 6/7] arm:trats: Support for USB UDC driver at TRATS board. 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 Support for USB UDC driver at trats board. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Marek Vasut Cc: Minkyu Kang --- board/samsung/trats/trats.c | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/board/samsung/trats/trats.c b/board/samsung/trats/trats.c index a95a516..2f3a531 100644 --- a/board/samsung/trats/trats.c +++ b/board/samsung/trats/trats.c @@ -59,6 +59,8 @@ static int hwrevision(int rev) return (board_rev & 0xf) == rev; } +struct s3c_plat_otg_data s5pc210_otg_data; + int board_init(void) { gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100; @@ -259,6 +261,13 @@ struct s3c_plat_otg_data s5pc210_otg_data = { .usb_phy_ctrl = EXYNOS4_USBPHY_CONTROL, .usb_flags = PHY0_SLEEP, }; + +void board_usb_init(void) +{ + puts("USB_udc_probe\n"); + s3c_udc_probe(&s5pc210_otg_data); + +} #endif static void pmic_reset(void)