imx6: add support for EHCI USB
[openwrt/staging/wigyori.git] / target / linux / imx6 / patches-3.10 / 0002-usb-chipidea-enable-to-build-host-support-as-module.patch
1 From f4087fcf07cce987f5ce3c42d6aee87b7b4f82b8 Mon Sep 17 00:00:00 2001
2 From: Luka Perkov <luka@openwrt.org>
3 Date: Sun, 28 Jul 2013 20:33:01 +0200
4 Subject: [PATCH] usb: chipidea: enable to build host support as module
5
6 USB_CHIPIDEA_HOST does not need to depend on USB=y, USB_CHIPIDEA_HOST will work
7 just fine even if USB=m is used. The depends line can be safely removed since
8 USB_CHIPIDEA already depends on USB.
9
10 Tested on Gateworks imx6 Ventana board (gw-5400-a).
11
12 Signed-off-by: Luka Perkov <luka@openwrt.org>
13 ---
14 drivers/usb/chipidea/Kconfig | 1 -
15 1 file changed, 1 deletion(-)
16
17 diff --git a/drivers/usb/chipidea/Kconfig b/drivers/usb/chipidea/Kconfig
18 index eb2aa2e..c9477e3 100644
19 --- a/drivers/usb/chipidea/Kconfig
20 +++ b/drivers/usb/chipidea/Kconfig
21 @@ -19,7 +19,6 @@ config USB_CHIPIDEA_UDC
22
23 config USB_CHIPIDEA_HOST
24 bool "ChipIdea host controller"
25 - depends on USB=y
26 depends on USB_EHCI_HCD=y || USB_CHIPIDEA=m
27 select USB_EHCI_ROOT_HUB_TT
28 help
29 --
30 1.8.3.3
31