diff options
author | Zoltan HERPAI <wigyori@uid0.hu> | 2013-07-17 22:49:16 +0000 |
---|---|---|
committer | Zoltan HERPAI <wigyori@uid0.hu> | 2013-07-17 22:49:16 +0000 |
commit | b476b188506664176b010366e05131156ab02f66 (patch) | |
tree | 530d60ad33d6820ff8f21576493d74d33b416552 | |
parent | 3fdbe277fad54c44d2f6e353ffe4043400c55d61 (diff) | |
download | upstream-b476b188506664176b010366e05131156ab02f66.tar.gz upstream-b476b188506664176b010366e05131156ab02f66.tar.bz2 upstream-b476b188506664176b010366e05131156ab02f66.zip |
imx23: ChipIdea changes
- move ci_hdrc into generic modules
- add separate package for imx-specific modules
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37384 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | package/kernel/linux/modules/usb.mk | 19 | ||||
-rw-r--r-- | target/linux/imx23/modules.mk | 23 |
2 files changed, 28 insertions, 14 deletions
diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk index 0fa99ccb79..10c82803d7 100644 --- a/package/kernel/linux/modules/usb.mk +++ b/package/kernel/linux/modules/usb.mk @@ -1023,3 +1023,22 @@ $(call KernelPackage/usbip/Default) $(call AddDepends/usb) endef $(eval $(call KernelPackage,usbip-server)) + +define KernelPackage/usb-chipidea + TITLE:=Support for ChipIdea controllers + KCONFIG:= \ + CONFIG_USB_CHIPIDEA \ + CONFIG_USB_CHIPIDEA_HOST=y \ + CONFIG_USB_CHIPIDEA_DEBUG=y + FILES:=\ + $(LINUX_DIR)/drivers/usb/chipidea/ci_hdrc.ko + AUTOLOAD:=$(call AutoLoad,51,ci_hdrc,1) + $(call AddDepends/usb) +endef + +define KernelPackage/usb-chipidea/description + Kernel support for USB ChipIdea controllers +endef + +$(eval $(call KernelPackage,usb-chipidea,1)) + diff --git a/target/linux/imx23/modules.mk b/target/linux/imx23/modules.mk index fb81cef91c..edc4c67c17 100644 --- a/target/linux/imx23/modules.mk +++ b/target/linux/imx23/modules.mk @@ -33,32 +33,27 @@ endef $(eval $(call KernelPackage,wdt-stmp3xxx)) -define KernelPackage/usb-chipidea - TITLE:=Support for ChipIdea controllers - DEPENDS:=@TARGET_imx23 - KCONFIG:= \ - CONFIG_USB_CHIPIDEA \ - CONFIG_USB_CHIPIDEA_HOST=y \ - CONFIG_USB_CHIPIDEA_DEBUG=y +define KernelPackage/usb-chipidea-imx + TITLE:=Support for ChipIdea controllers on i.MX + DEPENDS:=+kmod-usb-chipidea FILES:=\ - $(LINUX_DIR)/drivers/usb/chipidea/ci_hdrc.ko \ $(LINUX_DIR)/drivers/usb/chipidea/ci13xxx_imx.ko - AUTOLOAD:=$(call AutoLoad,51,ci_hdrc ci13xxx_imx,1) + AUTOLOAD:=$(call AutoLoad,52,ci13xxx_imx,1) $(call AddDepends/usb) endef -define KernelPackage/usb-chipidea/description - Kernel support for USB ChipIdea controllers +define KernelPackage/usb-chipidea-imx/description + Kernel support for USB ChipIdea controllers on i.MX endef -$(eval $(call KernelPackage,usb-chipidea,1)) +$(eval $(call KernelPackage,usb-chipidea-imx,1)) define KernelPackage/usb-mxs-phy TITLE:=Support for Freescale MXS USB PHY controllers - DEPENDS:=+kmod-usb-chipidea + DEPENDS:=+kmod-usb-chipidea-imx KCONFIG:= \ CONFIG_USB_MXS_PHY - FILES:=$(LINUX_DIR)/drivers/usb/phy/phy-mxs-usb.ko + FILES:=$(LINUX_DIR)/drivers/usb/phy/phy-mxs-usb.ko AUTOLOAD:=$(call AutoLoad,50,phy-mxs-usb,1) $(call AddDepends/usb) endef |