summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-07-28 20:34:17 +0000
committerluka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-07-28 20:34:17 +0000
commitcf3217fdeacf9e68a00c33ed7d222ee7fd1ff31e (patch)
tree82738ff300acc863bd9233295721662acb06d854
parentb55723a3b94b4a75589385ca8a4c36cf09612e98 (diff)
kernel: update usb-chipidea package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37579 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/kernel/linux/modules/usb.mk10
1 files changed, 6 insertions, 4 deletions
diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk
index e5a5fded70..ffafce88d4 100644
--- a/package/kernel/linux/modules/usb.mk
+++ b/package/kernel/linux/modules/usb.mk
@@ -1041,15 +1041,17 @@ $(eval $(call KernelPackage,usbip-server))
define KernelPackage/usb-chipidea
TITLE:=Support for ChipIdea controllers
- DEPENDS:= +kmod-usb2
- KCONFIG:= \
+ DEPENDS:=+kmod-usb2
+ KCONFIG:=\
CONFIG_USB_CHIPIDEA \
CONFIG_USB_CHIPIDEA_HOST=y \
CONFIG_USB_CHIPIDEA_UDC=n \
CONFIG_USB_CHIPIDEA_DEBUG=y
FILES:=\
- $(LINUX_DIR)/drivers/usb/chipidea/ci_hdrc.ko
- AUTOLOAD:=$(call AutoLoad,51,ci_hdrc,1)
+ $(LINUX_DIR)/drivers/usb/chipidea/ci_hdrc.ko \
+ $(if $(CONFIG_OF_DEVICE),$(LINUX_DIR)/drivers/usb/chipidea/ci13xxx_imx.ko) \
+ $(if $(CONFIG_OF_DEVICE),$(LINUX_DIR)/drivers/usb/chipidea/usbmisc_imx.ko)
+ AUTOLOAD:=$(call AutoLoad,51,ci_hdrc $(if $(CONFIG_OF_DEVICE),ci13xxx_imx usbmisc_imx),1)
$(call AddDepends/usb)
endef