X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/18a076fccdba90cd7bea1dd4cff1b6b0559b75f0..5a33add62c03f67c122ed7a139ad8f9615fbab74:/target/linux/lantiq/modules.mk?ds=sidebyside diff --git a/target/linux/lantiq/modules.mk b/target/linux/lantiq/modules.mk index 78289a1a1..b0db10e2c 100644 --- a/target/linux/lantiq/modules.mk +++ b/target/linux/lantiq/modules.mk @@ -29,11 +29,12 @@ USB_MENU:=USB Support define KernelPackage/usb-dwc-otg TITLE:=Synopsis DWC_OTG support SUBMENU:=$(USB_MENU) - DEPENDS+=@TARGET_lantiq_xway +kmod-usb-core + DEPENDS+=@(TARGET_lantiq_danube||TARGET_lantiq_ar9||TARGET_lantiq_vr9) +kmod-usb-core KCONFIG:=CONFIG_DWC_OTG \ CONFIG_DWC_OTG_DEBUG=n \ CONFIG_DWC_OTG_LANTIQ=y \ - CONFIG_DWC_OTG_HOST_ONLY=y + CONFIG_DWC_OTG_HOST_ONLY=y \ + CONFIG_DWC_OTG_DEVICE_ONLY=n FILES:=$(LINUX_DIR)/drivers/usb/dwc_otg/dwc_otg.ko AUTOLOAD:=$(call AutoLoad,50,dwc_otg) endef @@ -44,4 +45,18 @@ endef $(eval $(call KernelPackage,usb-dwc-otg)) +I2C_FALCON_MODULES:= \ + CONFIG_I2C_FALCON:drivers/i2c/busses/i2c-falcon + +define KernelPackage/i2c-falcon-lantiq + TITLE:=Falcon I2C controller + $(call i2c_defaults,$(I2C_FALCON_MODULES),52) + DEPENDS:=kmod-i2c-core @(TARGET_lantiq_falcon||TARGET_lantiq_falcon_stable) +endef + +define KernelPackage/i2c-falcon-lantiq/description + Kernel support for the Falcon I2C controller +endef + +$(eval $(call KernelPackage,i2c-falcon-lantiq))