summaryrefslogtreecommitdiff
path: root/target/linux/imx6/patches-3.10/0002-usb-chipidea-enable-to-build-host-support-as-module.patch
diff options
context:
space:
mode:
authorluka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-07-28 20:34:19 +0000
committerluka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-07-28 20:34:19 +0000
commit49584fea6df75716a5c14d2aecc432eae3855232 (patch)
treee6a42ac7b098b50e794d338e6f618d54fe4d029e /target/linux/imx6/patches-3.10/0002-usb-chipidea-enable-to-build-host-support-as-module.patch
parent8f8159d1046bdc1c4e9570e131553fefbeb0fc42 (diff)
imx6: add support for EHCI USB
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37581 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/imx6/patches-3.10/0002-usb-chipidea-enable-to-build-host-support-as-module.patch')
-rw-r--r--target/linux/imx6/patches-3.10/0002-usb-chipidea-enable-to-build-host-support-as-module.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/target/linux/imx6/patches-3.10/0002-usb-chipidea-enable-to-build-host-support-as-module.patch b/target/linux/imx6/patches-3.10/0002-usb-chipidea-enable-to-build-host-support-as-module.patch
new file mode 100644
index 0000000000..e2db7ca4f7
--- /dev/null
+++ b/target/linux/imx6/patches-3.10/0002-usb-chipidea-enable-to-build-host-support-as-module.patch
@@ -0,0 +1,31 @@
+From f4087fcf07cce987f5ce3c42d6aee87b7b4f82b8 Mon Sep 17 00:00:00 2001
+From: Luka Perkov <luka@openwrt.org>
+Date: Sun, 28 Jul 2013 20:33:01 +0200
+Subject: [PATCH] usb: chipidea: enable to build host support as module
+
+USB_CHIPIDEA_HOST does not need to depend on USB=y, USB_CHIPIDEA_HOST will work
+just fine even if USB=m is used. The depends line can be safely removed since
+USB_CHIPIDEA already depends on USB.
+
+Tested on Gateworks imx6 Ventana board (gw-5400-a).
+
+Signed-off-by: Luka Perkov <luka@openwrt.org>
+---
+ drivers/usb/chipidea/Kconfig | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/drivers/usb/chipidea/Kconfig b/drivers/usb/chipidea/Kconfig
+index eb2aa2e..c9477e3 100644
+--- a/drivers/usb/chipidea/Kconfig
++++ b/drivers/usb/chipidea/Kconfig
+@@ -19,7 +19,6 @@ config USB_CHIPIDEA_UDC
+
+ config USB_CHIPIDEA_HOST
+ bool "ChipIdea host controller"
+- depends on USB=y
+ depends on USB_EHCI_HCD=y || USB_CHIPIDEA=m
+ select USB_EHCI_ROOT_HUB_TT
+ help
+--
+1.8.3.3
+