X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Flantiq%2Fmodules.mk;h=e7fbad3a29590f924c8349c34125bb73ddbf96c5;hb=dbb57a9998b0cc4a3437748675c5a985949bf256;hp=78289a1a11fa54746470125f3f4dfa0436f8af64;hpb=18a076fccdba90cd7bea1dd4cff1b6b0559b75f0;p=openwrt.git diff --git a/target/linux/lantiq/modules.mk b/target/linux/lantiq/modules.mk index 78289a1a11..e7fbad3a29 100644 --- a/target/linux/lantiq/modules.mk +++ b/target/linux/lantiq/modules.mk @@ -5,43 +5,18 @@ # See /LICENSE for more information. # -define KernelPackage/lantiq-deu - TITLE:=Lantiq data encryption unit - SUBMENU:=$(CRYPTO_MENU) - DEPENDS:=@TARGET_lantiq - KCONFIG:=CONFIG_CRYPTO_DEV_LANTIQ \ - CONFIG_CRYPTO_HW=y \ - CONFIG_CRYPTO_DEV_LANTIQ_AES=y \ - CONFIG_CRYPTO_DEV_LANTIQ_DES=y \ - CONFIG_CRYPTO_DEV_LANTIQ_MD5=y \ - CONFIG_CRYPTO_DEV_LANTIQ_SHA1=y - $(call AddDepends/crypto) -endef - -define KernelPackage/lantiq-deu/description - Kernel support for the Lantiq crypto HW -endef +I2C_LANTIQ_MODULES:= \ + CONFIG_I2C_LANTIQ:drivers/i2c/busses/i2c-lantiq -$(eval $(call KernelPackage,lantiq-deu)) - -USB_MENU:=USB Support - -define KernelPackage/usb-dwc-otg - TITLE:=Synopsis DWC_OTG support - SUBMENU:=$(USB_MENU) - DEPENDS+=@TARGET_lantiq_xway +kmod-usb-core - KCONFIG:=CONFIG_DWC_OTG \ - CONFIG_DWC_OTG_DEBUG=n \ - CONFIG_DWC_OTG_LANTIQ=y \ - CONFIG_DWC_OTG_HOST_ONLY=y - FILES:=$(LINUX_DIR)/drivers/usb/dwc_otg/dwc_otg.ko - AUTOLOAD:=$(call AutoLoad,50,dwc_otg) +define KernelPackage/i2c-lantiq + TITLE:=Lantiq I2C controller + $(call i2c_defaults,$(I2C_LANTIQ_MODULES),52) + DEPENDS:=kmod-i2c-core @TARGET_lantiq_falcon endef -define KernelPackage/usb-dwc-otg/description - Kernel support for Synopsis USB on XWAY +define KernelPackage/i2c-lantiq/description + Kernel support for the Lantiq/Falcon I2C controller endef -$(eval $(call KernelPackage,usb-dwc-otg)) - +$(eval $(call KernelPackage,i2c-lantiq))