summaryrefslogtreecommitdiff
path: root/package/kernel/linux
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2014-02-09 13:01:00 +0000
committerImre Kaloz <kaloz@openwrt.org>2014-02-09 13:01:00 +0000
commit98e4ca00ed2646470ab33e0a64d0ca1f703cb9d4 (patch)
treeab223ef06ce90d9275a601f9a564cf68aa8b416d /package/kernel/linux
parent579e7d673beba80375b1ea5a9b2bf31c478fd6a1 (diff)
downloadmtk-20170518-98e4ca00ed2646470ab33e0a64d0ca1f703cb9d4.zip
mtk-20170518-98e4ca00ed2646470ab33e0a64d0ca1f703cb9d4.tar.gz
mtk-20170518-98e4ca00ed2646470ab33e0a64d0ca1f703cb9d4.tar.bz2
move some omap24xx modules to the generic Makefile
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 39543
Diffstat (limited to 'package/kernel/linux')
-rw-r--r--package/kernel/linux/modules/usb.mk38
1 files changed, 38 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk
index e1d14a2..38441e5 100644
--- a/package/kernel/linux/modules/usb.mk
+++ b/package/kernel/linux/modules/usb.mk
@@ -36,6 +36,44 @@ define AddDepends/usb
endef
+define KernelPackage/musb-hdrc
+ TITLE:=Support for Mentor Graphics silicon dual role USB
+ KCONFIG:= \
+ CONFIG_USB_MUSB_HDRC \
+ CONFIG_MUSB_PIO_ONLY=n \
+ CONFIG_USB_MUSB_OTG=y \
+ CONFIG_USB_MUSB_DEBUG=y
+ DEPENDS:=@TARGET_omap24xx
+ FILES:=$(LINUX_DIR)/drivers/usb/musb/musb_hdrc.ko
+ AUTOLOAD:=$(call AutoLoad,46,musb_hdrc)
+ $(call AddDepends/usb)
+endef
+
+define KernelPackage/musb-hdrc/description
+ Kernel support for Mentor Graphics silicon dual role USB device.
+endef
+
+$(eval $(call KernelPackage,musb-hdrc))
+
+
+
+define KernelPackage/nop-usb-xceiv
+ TITLE:=Support for USB OTG NOP transceiver
+ KCONFIG:= \
+ CONFIG_NOP_USB_XCEIV
+ DEPENDS:=@TARGET_omap24xx
+ FILES:=$(LINUX_DIR)/drivers/usb/otg/nop-usb-xceiv.ko
+ AUTOLOAD:=$(call AutoLoad,45,nop-usb-xceiv)
+ $(call AddDepends/usb)
+endef
+
+define KernelPackage/nop-usb-xceiv/description
+ Support for USB OTG NOP transceiver
+endef
+
+$(eval $(call KernelPackage,nop-usb-xceiv))
+
+
define KernelPackage/usb-gadget
TITLE:=USB Gadget support
KCONFIG:=CONFIG_USB_GADGET