From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-pf0-x243.google.com ([2607:f8b0:400e:c00::243]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cr2jN-0005Ex-24 for barebox@lists.infradead.org; Thu, 23 Mar 2017 13:24:50 +0000 Received: by mail-pf0-x243.google.com with SMTP id n11so20579999pfg.2 for ; Thu, 23 Mar 2017 06:24:25 -0700 (PDT) From: Andrey Smirnov Date: Thu, 23 Mar 2017 06:23:56 -0700 Message-Id: <20170323132358.8539-13-andrew.smirnov@gmail.com> In-Reply-To: <20170323132358.8539-1-andrew.smirnov@gmail.com> References: <20170323132358.8539-1-andrew.smirnov@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" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 12/14] at91sam9x5ek: Configure USB in DT To: barebox@lists.infradead.org Cc: Andrey Smirnov Signed-off-by: Andrey Smirnov --- arch/arm/boards/at91sam9x5ek/init.c | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/arch/arm/boards/at91sam9x5ek/init.c b/arch/arm/boards/at91sam9x5ek/init.c index 09b7d0f..ff0ef22 100644 --- a/arch/arm/boards/at91sam9x5ek/init.c +++ b/arch/arm/boards/at91sam9x5ek/init.c @@ -162,29 +162,10 @@ static void ek_add_device_lcdc(void) static void ek_add_device_lcdc(void) {} #endif -#if defined(CONFIG_USB_OHCI) || defined(CONFIG_USB_EHCI) -/* - * USB HS Host port (common to OHCI & EHCI) - */ -static struct at91_usbh_data ek_usbh_hs_data = { - .ports = 2, - .vbus_pin = {AT91_PIN_PD19, AT91_PIN_PD20}, -}; - -static void ek_add_device_usb(void) -{ - at91_add_device_usbh_ohci(&ek_usbh_hs_data); - at91_add_device_usbh_ehci(&ek_usbh_hs_data); -} -#else -static void ek_add_device_usb(void) {} -#endif - static int at91sam9x5ek_devices_init(void) { ek_add_device_nand(); ek_add_device_eth(); - ek_add_device_usb(); ek_add_device_lcdc(); armlinux_set_architecture(CONFIG_MACH_AT91SAM9X5EK); -- 2.9.3 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox