usb: host: Allow to build ehci orion with mvebu SoCs
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Thu, 9 Mar 2017 17:52:57 +0000 (18:52 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Mar 2017 04:32:59 +0000 (13:32 +0900)
The mvebu ARM64 SoCs no longer select 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.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/Kconfig

index 2b2eecd4c11dceebeb7f9cf8d9bb047874391167..ababb91d654ab2a7ee3885da9c35ae8465290013 100644 (file)
@@ -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