0eccec5876ca44d035a146b82eb11396aae14f5a
[openwrt/openwrt.git] / target / linux / lantiq / modules.mk
1 #
2 # Copyright (C) 2010 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 define KernelPackage/lantiq-deu
9 TITLE:=Lantiq data encryption unit
10 SUBMENU:=$(CRYPTO_MENU)
11 DEPENDS:=@TARGET_lantiq
12 KCONFIG:=CONFIG_CRYPTO_DEV_LANTIQ \
13 CONFIG_CRYPTO_HW=y \
14 CONFIG_CRYPTO_DEV_LANTIQ_AES=y \
15 CONFIG_CRYPTO_DEV_LANTIQ_DES=y \
16 CONFIG_CRYPTO_DEV_LANTIQ_MD5=y \
17 CONFIG_CRYPTO_DEV_LANTIQ_SHA1=y
18 $(call AddDepends/crypto)
19 endef
20
21 define KernelPackage/lantiq-deu/description
22 Kernel support for the Lantiq crypto HW
23 endef
24
25 $(eval $(call KernelPackage,lantiq-deu))
26
27 USB_MENU:=USB Support
28
29 define KernelPackage/usb-dwc-otg
30 TITLE:=Synopsis DWC_OTG support
31 SUBMENU:=$(USB_MENU)
32 DEPENDS+=@(TARGET_lantiq_danube||TARGET_lantiq_ar9||TARGET_lantiq_vr9) +kmod-usb-core
33 KCONFIG:=CONFIG_DWC_OTG \
34 CONFIG_DWC_OTG_DEBUG=n \
35 CONFIG_DWC_OTG_LANTIQ=y \
36 CONFIG_DWC_OTG_HOST_ONLY=y \
37 CONFIG_DWC_OTG_DEVICE_ONLY=n
38 FILES:=$(LINUX_DIR)/drivers/usb/dwc_otg/dwc_otg.ko
39 AUTOLOAD:=$(call AutoLoad,50,dwc_otg,1)
40 endef
41
42 define KernelPackage/usb-dwc-otg/description
43 Kernel support for Synopsis USB on XWAY
44 endef
45
46 $(eval $(call KernelPackage,usb-dwc-otg))
47
48 I2C_FALCON_MODULES:= \
49 CONFIG_I2C_FALCON:drivers/i2c/busses/i2c-falcon
50
51 define KernelPackage/i2c-falcon-lantiq
52 TITLE:=Falcon I2C controller
53 $(call i2c_defaults,$(I2C_FALCON_MODULES),52)
54 DEPENDS:=kmod-i2c-core @(TARGET_lantiq_falcon||TARGET_lantiq_falcon_stable)
55 endef
56
57 define KernelPackage/i2c-falcon-lantiq/description
58 Kernel support for the Falcon I2C controller
59 endef
60
61 $(eval $(call KernelPackage,i2c-falcon-lantiq))
62