aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Büsch <mb@bu3sch.de>2011-02-11 14:35:08 +0000
committerMichael Büsch <mb@bu3sch.de>2011-02-11 14:35:08 +0000
commite19a286caedc21eab11198cc41803df768042889 (patch)
tree651de62af6970e3ede29d0024063b3d0980ef361
parent6c387521f6fc7e0177559fc6111c4a5340bf6082 (diff)
downloadupstream-e19a286caedc21eab11198cc41803df768042889.tar.gz
upstream-e19a286caedc21eab11198cc41803df768042889.tar.bz2
upstream-e19a286caedc21eab11198cc41803df768042889.zip
Add tusb6010 package and let tahvo-usb select it
SVN-Revision: 25465
-rw-r--r--package/kernel/modules/usb.mk38
-rw-r--r--target/linux/omap24xx/config-2.6.373
2 files changed, 36 insertions, 5 deletions
diff --git a/package/kernel/modules/usb.mk b/package/kernel/modules/usb.mk
index 4935b9a8b5..c9cd11b7da 100644
--- a/package/kernel/modules/usb.mk
+++ b/package/kernel/modules/usb.mk
@@ -112,7 +112,7 @@ define KernelPackage/musb-hdrc
CONFIG_USB_MUSB_DEBUG=y
DEPENDS:=@TARGET_omap24xx
FILES:=$(LINUX_DIR)/drivers/usb/musb/musb_hdrc.ko
- AUTOLOAD:=$(call AutoLoad,54,musb_hdrc)
+ AUTOLOAD:=$(call AutoLoad,55,musb_hdrc)
$(call AddDepends/usb)
endef
@@ -123,6 +123,38 @@ 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,53,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/tusb6010
+ TITLE:=Support for TUSB 6010
+ KCONFIG:= \
+ CONFIG_USB_TUSB6010=y
+ DEPENDS:=+kmod-musb-hdrc +kmod-nop-usb-xceiv
+ $(call AddDepends/usb)
+endef
+
+define KernelPackage/tusb6010/description
+ TUSB6010 support
+endef
+
+$(eval $(call KernelPackage,tusb6010))
+
+
define KernelPackage/usb-tahvo
TITLE:=Support for Tahvo (Nokia n810) USB
KCONFIG:= \
@@ -130,9 +162,9 @@ define KernelPackage/usb-tahvo
CONFIG_CBUS_TAHVO_USB_HOST_BY_DEFAULT=n \
CONFIG_USB_OHCI_HCD_OMAP1=y \
CONFIG_USB_GADGET_DEBUG_FS=n
- DEPENDS:=@TARGET_omap24xx +kmod-usb-ohci +kmod-musb-hdrc +kmod-usb-gadget
+ DEPENDS:=@TARGET_omap24xx +kmod-usb-ohci +kmod-tusb6010 +kmod-usb-gadget
FILES:=$(LINUX_DIR)/drivers/cbus/tahvo-usb.ko
- AUTOLOAD:=$(call AutoLoad,55,tahvo-usb)
+ AUTOLOAD:=$(call AutoLoad,54,tahvo-usb)
$(call AddDepends/usb)
endef
diff --git a/target/linux/omap24xx/config-2.6.37 b/target/linux/omap24xx/config-2.6.37
index d9aade1b30..e092645b60 100644
--- a/target/linux/omap24xx/config-2.6.37
+++ b/target/linux/omap24xx/config-2.6.37
@@ -594,8 +594,7 @@ CONFIG_USB_OTG_UTILS=y
CONFIG_USB_SERIAL=m
CONFIG_USB_SUPPORT=y
# CONFIG_USB_TI_CPPI_DMA is not set
-CONFIG_USB_TUSB6010=y
-CONFIG_USB_TUSB_OMAP_DMA=y
+# CONFIG_USB_TUSB6010 is not set
CONFIG_USB_USBNET=m
# CONFIG_USB_ZERO is not set
# CONFIG_USER_NS is not set