aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-02-16 17:13:40 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-02-16 17:13:40 +0000
commit6f2377c104707c692dfc13ebc8d62191c69d1dbb (patch)
tree10c2206a1ac5914c8a528c1fe79c43c527ddb920 /package/kernel
parent5766e4d2239efe0b6daf95fbcf5328fc5def649b (diff)
downloadmaster-187ad058-6f2377c104707c692dfc13ebc8d62191c69d1dbb.tar.gz
master-187ad058-6f2377c104707c692dfc13ebc8d62191c69d1dbb.tar.bz2
master-187ad058-6f2377c104707c692dfc13ebc8d62191c69d1dbb.zip
package/kernel: add package for the Freescale On-Chip EHCI Controller
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35627 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/modules/usb.mk21
1 files changed, 19 insertions, 2 deletions
diff --git a/package/kernel/modules/usb.mk b/package/kernel/modules/usb.mk
index be9ed207e1..fa6763c84c 100644
--- a/package/kernel/modules/usb.mk
+++ b/package/kernel/modules/usb.mk
@@ -110,14 +110,31 @@ endef
$(eval $(call KernelPackage,usb-ohci,1))
+define KernelPackage/usb2-fsl
+ TITLE:=Support for Freescale USB2 controllers
+ DEPENDS:=TARGET_mpc85xx
+ KCONFIG:=\
+ CONFIG_USB_FSL_MPH_DR_OF \
+ CONFIG_USB_EHCI_FSL=y
+ FILES:=$(LINUX_DIR)/drivers/usb/host/fsl-mph-dr-of.ko
+ AUTOLOAD:=$(call AutoLoad,39,fsl-mph-dr-of,1)
+ $(call AddDepends/usb)
+endef
+
+define KernelPackage/usb2-fsl/description
+ Kernel support for Freescale USB2 (EHCI) controllers
+endef
+
+$(eval $(call KernelPackage,usb2-fsl))
+
+
define KernelPackage/usb2
TITLE:=Support for USB2 controllers
- DEPENDS:=+TARGET_brcm47xx:kmod-usb-brcm47xx
+ DEPENDS:=+TARGET_brcm47xx:kmod-usb-brcm47xx +TARGET_mpc85xx:kmod-usb2-fsl
KCONFIG:=CONFIG_USB_EHCI_HCD \
CONFIG_USB_EHCI_ATH79=y \
CONFIG_USB_EHCI_BCM63XX=y \
CONFIG_USB_OCTEON_EHCI=y \
- CONFIG_USB_EHCI_FSL=n \
CONFIG_USB_EHCI_HCD_PLATFORM=y
ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.8.0)),1)
FILES:= \