[lantiq] adds zyxel p2601hnfx support
[openwrt/svn-archive/archive.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) +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 define KernelPackage/usb-ifxhcd
49 TITLE:=IFXHCD usb driver
50 SUBMENU:=$(USB_MENU)
51 DEPENDS+=@(TARGET_lantiq_vr9||TARGET_lantiq_ar9) +kmod-usb-core
52 ifeq ($(CONFIG_TARGET_lantiq_ar9),)
53 KCONFIG:=CONFIG_USB_HOST_IFX \
54 CONFIG_USB_HOST_IFX_B=y \
55 CONFIG_IFX_VR9=y \
56 CONFIG_IFX_AR9=n \
57 CONFIG_USB_HOST_IFX_FORCE_USB11=n \
58 CONFIG_USB_HOST_IFX_WITH_HS_ELECT_TST=n \
59 CONFIG_USB_HOST_IFX_WITH_ISO=n \
60 CONFIG_USB_HOST_IFX_UNALIGNED_ADJ=y
61 else
62 KCONFIG:=CONFIG_USB_HOST_IFX \
63 CONFIG_USB_HOST_IFX_B=y \
64 CONFIG_IFX_AR9=y \
65 CONFIG_IFX_VR9=n \
66 CONFIG_USB_HOST_IFX_FORCE_USB11=n \
67 CONFIG_USB_HOST_IFX_WITH_HS_ELECT_TST=n \
68 CONFIG_USB_HOST_IFX_WITH_ISO=n \
69 CONFIG_USB_HOST_IFX_UNALIGNED_ADJ=y
70 endif
71 FILES:=$(LINUX_DIR)/drivers/usb/ifxhcd/ifxusb_host.ko
72 AUTOLOAD:=$(call AutoLoad,50,ifxusb_host)
73 endef
74
75 define KernelPackage/usb-ifxhcd/description
76 Kernel support for Synopsis USB on XWAY
77 endef
78
79 $(eval $(call KernelPackage,usb-ifxhcd))
80
81 I2C_FALCON_MODULES:= \
82 CONFIG_I2C_FALCON:drivers/i2c/busses/i2c-falcon
83
84 define KernelPackage/i2c-falcon-lantiq
85 TITLE:=Falcon I2C controller
86 $(call i2c_defaults,$(I2C_FALCON_MODULES),52)
87 DEPENDS:=kmod-i2c-core @(TARGET_lantiq_falcon||TARGET_lantiq_falcon_stable)
88 endef
89
90 define KernelPackage/i2c-falcon-lantiq/description
91 Kernel support for the Falcon I2C controller
92 endef
93
94 $(eval $(call KernelPackage,i2c-falcon-lantiq))
95