2 # Copyright (C) 2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
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 \
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
)
21 define KernelPackage
/lantiq-deu
/description
22 Kernel support for the Lantiq crypto HW
25 $(eval
$(call KernelPackage
,lantiq-deu
))
29 define KernelPackage
/usb-dwc-otg
30 TITLE
:=Synopsis DWC_OTG support
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)
42 define KernelPackage
/usb-dwc-otg
/description
43 Kernel support for Synopsis USB on XWAY
46 $(eval
$(call KernelPackage
,usb-dwc-otg
))
48 define KernelPackage
/usb-ifxhcd
49 TITLE
:=IFXHCD usb driver
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 \
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
62 KCONFIG
:=CONFIG_USB_HOST_IFX \
63 CONFIG_USB_HOST_IFX_B
=y \
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
71 FILES
:=$(LINUX_DIR
)/drivers
/usb
/ifxhcd
/ifxusb_host.ko
72 AUTOLOAD
:=$(call AutoLoad
,50,ifxusb_host
)
75 define KernelPackage
/usb-ifxhcd
/description
76 Kernel support for Synopsis USB on XWAY
79 $(eval
$(call KernelPackage
,usb-ifxhcd
))
81 I2C_FALCON_MODULES
:= \
82 CONFIG_I2C_FALCON
:drivers
/i2c
/busses
/i2c-falcon
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
)
90 define KernelPackage
/i2c-falcon-lantiq
/description
91 Kernel support for the Falcon I2C controller
94 $(eval
$(call KernelPackage
,i2c-falcon-lantiq
))