summaryrefslogtreecommitdiff
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2012-07-24 20:38:08 +0000
committerJohn Crispin <john@openwrt.org>2012-07-24 20:38:08 +0000
commite219c3ac3aea7cb16a25babaef2214378ca33f4b (patch)
treea923392320834790c1ae40f2e2a372e92c96a5be /target/linux/ramips
parenta65eee9ac3a3ba3d476c32b5710b691e9ec3a7f0 (diff)
downloadmtk-20170518-e219c3ac3aea7cb16a25babaef2214378ca33f4b.zip
mtk-20170518-e219c3ac3aea7cb16a25babaef2214378ca33f4b.tar.gz
mtk-20170518-e219c3ac3aea7cb16a25babaef2214378ca33f4b.tar.bz2
enable OHCI/EHCI glue on Rt305x, so it is available for Rt3352F.
Hope that this works, didn't have a chance to actually test it... Signed-off-by: Daniel Golle <dgolle@allnet.de> SVN-Revision: 32815
Diffstat (limited to 'target/linux/ramips')
-rw-r--r--target/linux/ramips/files/arch/mips/ralink/Kconfig2
-rw-r--r--target/linux/ramips/patches-3.3/200-rt3883-ehci-glue.patch2
-rw-r--r--target/linux/ramips/patches-3.3/201-rt3883-ohci-glue.patch2
3 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ramips/files/arch/mips/ralink/Kconfig b/target/linux/ramips/files/arch/mips/ralink/Kconfig
index b594881..444a88a 100644
--- a/target/linux/ramips/files/arch/mips/ralink/Kconfig
+++ b/target/linux/ramips/files/arch/mips/ralink/Kconfig
@@ -52,6 +52,8 @@ config SOC_RT305X
select SYS_HAS_EARLY_PRINTK
select MIPS_MACHINE
select USB_ARCH_HAS_HCD
+ select USB_ARCH_HAS_OHCI
+ select USB_ARCH_HAS_EHCI
config SOC_RT3883
bool
diff --git a/target/linux/ramips/patches-3.3/200-rt3883-ehci-glue.patch b/target/linux/ramips/patches-3.3/200-rt3883-ehci-glue.patch
index 636b6b2..7fbcc94 100644
--- a/target/linux/ramips/patches-3.3/200-rt3883-ehci-glue.patch
+++ b/target/linux/ramips/patches-3.3/200-rt3883-ehci-glue.patch
@@ -6,7 +6,7 @@
+config USB_EHCI_RT3883
+ bool "EHCI support for Ralink RT3662/RT3883 SoCs"
-+ depends on USB_EHCI_HCD && SOC_RT3883
++ depends on USB_EHCI_HCD && ( SOC_RT3883 || SOC_RT305X )
+ select USB_EHCI_ROOT_HUB_TT
+ default y
+ ---help---
diff --git a/target/linux/ramips/patches-3.3/201-rt3883-ohci-glue.patch b/target/linux/ramips/patches-3.3/201-rt3883-ohci-glue.patch
index 983e4f9..ba1aa58 100644
--- a/target/linux/ramips/patches-3.3/201-rt3883-ohci-glue.patch
+++ b/target/linux/ramips/patches-3.3/201-rt3883-ohci-glue.patch
@@ -6,7 +6,7 @@
+config USB_OHCI_RT3883
+ bool "USB OHCI support for the Ralink RT3883 SoCs"
-+ depends on USB_OHCI_HCD && SOC_RT3883
++ depends on USB_OHCI_HCD && ( SOC_RT3883 || SOC_RT305X )
+ default y
+ help
+ Enables support for the built-in OHCI controller present on the