aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/modules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/lantiq/modules.mk')
-rw-r--r--target/linux/lantiq/modules.mk35
1 files changed, 34 insertions, 1 deletions
diff --git a/target/linux/lantiq/modules.mk b/target/linux/lantiq/modules.mk
index 0eccec5876..0868e6a386 100644
--- a/target/linux/lantiq/modules.mk
+++ b/target/linux/lantiq/modules.mk
@@ -29,7 +29,7 @@ USB_MENU:=USB Support
define KernelPackage/usb-dwc-otg
TITLE:=Synopsis DWC_OTG support
SUBMENU:=$(USB_MENU)
- DEPENDS+=@(TARGET_lantiq_danube||TARGET_lantiq_ar9||TARGET_lantiq_vr9) +kmod-usb-core
+ DEPENDS+=@(TARGET_lantiq_danube||TARGET_lantiq_ar9) +kmod-usb-core
KCONFIG:=CONFIG_DWC_OTG \
CONFIG_DWC_OTG_DEBUG=n \
CONFIG_DWC_OTG_LANTIQ=y \
@@ -45,6 +45,39 @@ endef
$(eval $(call KernelPackage,usb-dwc-otg))
+define KernelPackage/usb-ifxhcd
+ TITLE:=IFXHCD usb driver
+ SUBMENU:=$(USB_MENU)
+ DEPENDS+=@(TARGET_lantiq_vr9||TARGET_lantiq_ar9) +kmod-usb-core
+ifeq ($(CONFIG_TARGET_lantiq_ar9),)
+ KCONFIG:=CONFIG_USB_HOST_IFX \
+ CONFIG_USB_HOST_IFX_B=y \
+ CONFIG_IFX_VR9=y \
+ CONFIG_IFX_AR9=n \
+ CONFIG_USB_HOST_IFX_FORCE_USB11=n \
+ CONFIG_USB_HOST_IFX_WITH_HS_ELECT_TST=n \
+ CONFIG_USB_HOST_IFX_WITH_ISO=n \
+ CONFIG_USB_HOST_IFX_UNALIGNED_ADJ=y
+else
+ KCONFIG:=CONFIG_USB_HOST_IFX \
+ CONFIG_USB_HOST_IFX_B=y \
+ CONFIG_IFX_AR9=y \
+ CONFIG_IFX_VR9=n \
+ CONFIG_USB_HOST_IFX_FORCE_USB11=n \
+ CONFIG_USB_HOST_IFX_WITH_HS_ELECT_TST=n \
+ CONFIG_USB_HOST_IFX_WITH_ISO=n \
+ CONFIG_USB_HOST_IFX_UNALIGNED_ADJ=y
+endif
+ FILES:=$(LINUX_DIR)/drivers/usb/ifxhcd/ifxusb_host.ko
+ AUTOLOAD:=$(call AutoLoad,50,ifxusb_host)
+endef
+
+define KernelPackage/usb-ifxhcd/description
+ Kernel support for Synopsis USB on XWAY
+endef
+
+$(eval $(call KernelPackage,usb-ifxhcd))
+
I2C_FALCON_MODULES:= \
CONFIG_I2C_FALCON:drivers/i2c/busses/i2c-falcon