aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2019-04-08 20:09:33 +0200
committerChristian Lamparter <chunkeey@gmail.com>2019-04-13 15:09:09 +0200
commit68b8d3b0796d202a2d2aa1a9fc781f186e54e8be (patch)
tree8edb32914eefb9eeaf2cae7e334d57811632fbe3 /package/kernel
parent3fd443640c52d8860676a8b90e66a2ba1c2cf9f3 (diff)
downloadupstream-68b8d3b0796d202a2d2aa1a9fc781f186e54e8be.tar.gz
upstream-68b8d3b0796d202a2d2aa1a9fc781f186e54e8be.tar.bz2
upstream-68b8d3b0796d202a2d2aa1a9fc781f186e54e8be.zip
kernel: usb: add FSL EHCI package
Add kernel module package for the Freescale USB2 EHCI used on the mpc85xx platform. Signed-off-by: David Bauer <mail@david-bauer.net>
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/linux/modules/usb.mk23
1 files changed, 21 insertions, 2 deletions
diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk
index 88bb4a91eb..f11758c662 100644
--- a/package/kernel/linux/modules/usb.mk
+++ b/package/kernel/linux/modules/usb.mk
@@ -385,8 +385,7 @@ define KernelPackage/usb2
CONFIG_USB_EHCI_MXC=y \
CONFIG_USB_OCTEON_EHCI=y \
CONFIG_USB_EHCI_HCD_ORION=y \
- CONFIG_USB_EHCI_HCD_AT91=y \
- CONFIG_USB_EHCI_FSL
+ CONFIG_USB_EHCI_HCD_AT91=y
FILES:= \
$(LINUX_DIR)/drivers/usb/host/ehci-platform.ko
ifneq ($(wildcard $(LINUX_DIR)/drivers/usb/host/ehci-orion.ko),)
@@ -406,6 +405,26 @@ endef
$(eval $(call KernelPackage,usb2))
+define KernelPackage/usb2-fsl
+ TITLE:=Support for Freescale USB2 controllers
+ DEPENDS:=+kmod-usb-ehci @TARGET_mpc85xx
+ KCONFIG:= \
+ CONFIG_USB_EHCI_HCD_PPC_OF=y \
+ CONFIG_USB_EHCI_FSL=y
+ FILES:= \
+ $(LINUX_DIR)/drivers/usb/host/ehci-fsl.ko \
+ $(LINUX_DIR)/drivers/usb/host/fsl-mph-dr-of.ko
+ AUTOLOAD:=$(call AutoLoad,42,ehci-fsl 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-pci
TITLE:=Support for PCI USB2 controllers
DEPENDS:=@PCI_SUPPORT +kmod-usb2