Re: [PATCH 2/3] usb: host: Allow to build ehci orion with mvebu SoCs
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
Re: [PATCH 2/3] usb: host: Allow to build ehci orion with mvebu SoCs
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
Re: [PATCH 2/3] usb: host: Allow to build ehci orion with mvebu SoCs
Hi Andrew, On mer., mars 08 2017, Andrew Lunnwrote: > 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. Thanks for this enhancement! > >> 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) Your version seems better. Thanks, Gregory > > Andrew > > ___ > linux-arm-kernel mailing list > linux-arm-ker...@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel -- Gregory Clement, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com
Re: [PATCH 2/3] usb: host: Allow to build ehci orion with mvebu SoCs
Hi Andrew, On mer., mars 08 2017, Andrew Lunn wrote: > 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. Thanks for this enhancement! > >> 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) Your version seems better. Thanks, Gregory > > Andrew > > ___ > linux-arm-kernel mailing list > linux-arm-ker...@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel -- Gregory Clement, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com
[PATCH 2/3] usb: host: Allow to build ehci orion with mvebu SoCs
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. 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 default y ---help--- Enables support for the on-chip EHCI controller on Marvell's -- 2.11.0
[PATCH 2/3] usb: host: Allow to build ehci orion with mvebu SoCs
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. 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 default y ---help--- Enables support for the on-chip EHCI controller on Marvell's -- 2.11.0