From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-lpp01m010-f49.google.com ([209.85.215.49]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1SZMBE-00075V-C1 for barebox@lists.infradead.org; Tue, 29 May 2012 13:09:45 +0000 Received: by laap9 with SMTP id p9so3286560laa.36 for ; Tue, 29 May 2012 06:09:42 -0700 (PDT) From: Antony Pavlov Date: Tue, 29 May 2012 17:09:33 +0400 Message-Id: <1338296974-15096-1-git-send-email-antonynpavlov@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH v20120529.1 1/2] toshiba_ac100: add USB host support To: barebox@lists.infradead.org Signed-off-by: Antony Pavlov --- arch/arm/boards/toshiba-ac100/board.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boards/toshiba-ac100/board.c b/arch/arm/boards/toshiba-ac100/board.c index e3a5eba..d933146 100644 --- a/arch/arm/boards/toshiba-ac100/board.c +++ b/arch/arm/boards/toshiba-ac100/board.c @@ -24,6 +24,8 @@ #include #include #include +#include +#include static int ac100_mem_init(void) { @@ -32,3 +34,16 @@ static int ac100_mem_init(void) return 0; } mem_initcall(ac100_mem_init); + +static struct ehci_platform_data ehci_pdata = { + .flags = EHCI_HAS_TT, +}; + +static int ac100_devices_init(void) +{ + add_generic_usb_ehci_device(DEVICE_ID_DYNAMIC, + TEGRA_USB3_BASE, &ehci_pdata); + + return 0; +} +device_initcall(ac100_devices_init); -- 1.7.10 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox