-define KernelPackage/usb-adm5120
-$(call KernelPackage/usb/Depends,@TARGET_adm5120_router_be||@TARGET_adm5120_router_le)
- TITLE:=Support for the ADM5120 HCD controller
- KCONFIG:=CONFIG_USB_ADM5120_HCD
- FILES:=$(LINUX_DIR)/drivers/usb/host/adm5120-hcd.$(LINUX_KMOD_SUFFIX)
- AUTOLOAD:=$(call AutoLoad,50,adm5120-hcd,1)
+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)