Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754015AbdCHRkO (ORCPT ); Wed, 8 Mar 2017 12:40:14 -0500 Received: from vps0.lunn.ch ([178.209.37.122]:39493 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752986AbdCHRkM (ORCPT ); Wed, 8 Mar 2017 12:40:12 -0500 Date: Wed, 8 Mar 2017 18:01:36 +0100 From: Andrew Lunn To: Gregory CLEMENT Cc: Greg Kroah-Hartman , Alan Stern , linux-usb@vger.kernel.org, Jason Cooper , Sebastian Hesselbarth , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Thomas Petazzoni , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 2/3] usb: host: Allow to build ehci orion with mvebu SoCs Message-ID: <20170308170136.GC32355@lunn.ch> References: <20170308162423.25553-1-gregory.clement@free-electrons.com> <20170308162423.25553-3-gregory.clement@free-electrons.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170308162423.25553-3-gregory.clement@free-electrons.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1151 Lines: 30 On Wed, Mar 08, 2017 at 05:24:22PM +0100, Gregory CLEMENT wrote: > The mvebu ARM64 SoCs no more select PLAT_ORION but some of them as the > Armada 37xx use the EHCI orion controller. This patch allow to build > the driver when ARCH_MVEBU is selected. The mvebu ARM64 SoCs no longer selects PLAT_ORION. However Armada 37xx use the Orion EHCI controller. This patch allows the Orion EHCI driver to be built when ARCH_MVEBU is selected. > Signed-off-by: Gregory CLEMENT > --- > drivers/usb/host/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig > index 407d947b34ea..870c42d89298 100644 > --- a/drivers/usb/host/Kconfig > +++ b/drivers/usb/host/Kconfig > @@ -188,7 +188,7 @@ config USB_EHCI_HCD_OMAP > > config USB_EHCI_HCD_ORION > tristate "Support for Marvell EBU on-chip EHCI USB controller" > - depends on USB_EHCI_HCD && PLAT_ORION > + depends on USB_EHCI_HCD && PLAT_ORION || ARCH_MVEBU I don't know the Kconfig language too well. Should this be: > + depends on USB_EHCI_HCD && (PLAT_ORION || ARCH_MVEBU) Andrew