From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-pg0-x242.google.com ([2607:f8b0:400e:c05::242]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1coWxr-0005pK-UT for barebox@lists.infradead.org; Thu, 16 Mar 2017 15:05:25 +0000 Received: by mail-pg0-x242.google.com with SMTP id y17so6406053pgh.0 for ; Thu, 16 Mar 2017 08:05:02 -0700 (PDT) From: Andrey Smirnov Date: Thu, 16 Mar 2017 08:04:46 -0700 Message-Id: <20170316150448.11773-10-andrew.smirnov@gmail.com> In-Reply-To: <20170316150448.11773-1-andrew.smirnov@gmail.com> References: <20170316150448.11773-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 v2 09/11] usb/host: Allow USB_OHCI_AT91 even if USB_OHCI is disabled To: barebox@lists.infradead.org Cc: Andrey Smirnov When probing devices from DT, AT91 SoCs rely on OHCI driver to setup various GPIO (e.g. VBUS enabled) for EHCI block as well. So enable USB_OHCI_AT91 to be selected even if USB_OHCI is unavailible (due to its dependency on !MMU). Acked-by: Sam Ravnborg Signed-off-by: Andrey Smirnov --- drivers/usb/host/Kconfig | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig index 54eaf46..db44052 100644 --- a/drivers/usb/host/Kconfig +++ b/drivers/usb/host/Kconfig @@ -10,20 +10,17 @@ config USB_EHCI_OMAP config USB_EHCI_ATMEL depends on ARCH_AT91 depends on USB_EHCI + select USB_OHCI_AT91 bool "Atmel EHCI driver" config USB_OHCI bool "OHCI driver" depends on !MMU -if USB_OHCI - config USB_OHCI_AT91 depends on ARCH_AT91 bool "AT91 OHCI driver" -endif - config USB_XHCI bool "xHCI driver" depends on HAS_DMA -- 2.9.3 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox