[ramips] enable OHCI/EHCI glue on Rt305x, so it is available for Rt3352F.
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 24 Jul 2012 20:38:08 +0000 (20:38 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 24 Jul 2012 20:38:08 +0000 (20:38 +0000)
Hope that this works, didn't have a chance to actually test it...

Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32815 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/ramips/files/arch/mips/ralink/Kconfig
target/linux/ramips/patches-3.3/200-rt3883-ehci-glue.patch
target/linux/ramips/patches-3.3/201-rt3883-ohci-glue.patch

index b594881..444a88a 100644 (file)
@@ -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
index 636b6b2..7fbcc94 100644 (file)
@@ -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---
index 983e4f9..ba1aa58 100644 (file)
@@ -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