source: branches/backfire/target/linux/lantiq/modules.mk @ 27546

Last change on this file since 27546 was 27546, checked in by blogic, 5 years ago

add new lantiq target

File size: 1.7 KB
Line 
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
8CRYPTO_MENU:=Cryptographic API modules
9
10define KernelPackage/lantiq-deu
11  TITLE:=Lantiq data encryption unit
12  SUBMENU:=$(CRYPTO_MENU)
13  DEPENDS:=@TARGET_lantiq
14  KCONFIG:=CONFIG_CRYPTO_DEV_LANTIQ \
15           CONFIG_CRYPTO_HW=y \
16           CONFIG_CRYPTO_DEV_LANTIQ_AES=y \
17           CONFIG_CRYPTO_DEV_LANTIQ_DES=y \
18           CONFIG_CRYPTO_DEV_LANTIQ_MD5=y \
19           CONFIG_CRYPTO_DEV_LANTIQ_SHA1=y
20  DEPENDS+=@TARGET_lantiq +kmod-crypto-core
21endef
22
23define KernelPackage/lantiq-deu/description
24  Kernel support for the Lantiq crypto HW
25endef
26
27$(eval $(call KernelPackage,lantiq-deu))
28
29USB_MENU:=USB Support
30
31define KernelPackage/usb-dwc-otg
32  TITLE:=Synopsis DWC_OTG support
33  SUBMENU:=$(USB_MENU)
34  DEPENDS+=@TARGET_lantiq_danube +kmod-usb-core
35  KCONFIG:=CONFIG_DWC_OTG \
36        CONFIG_DWC_OTG_DEBUG=n \
37        CONFIG_DWC_OTG_LANTIQ=y \
38        CONFIG_DWC_OTG_HOST_ONLY=y \
39        CONFIG_DWC_OTG_DEVICE_ONLY=n
40  FILES:=$(LINUX_DIR)/drivers/usb/dwc_otg/dwc_otg.ko
41  AUTOLOAD:=$(call AutoLoad,50,dwc_otg)
42endef
43
44define KernelPackage/usb-dwc-otg/description
45  Kernel support for Synopsis USB on XWAY
46endef
47
48$(eval $(call KernelPackage,usb-dwc-otg))
49
50I2C_FALCON_MODULES:= \
51  CONFIG_I2C_FALCON:drivers/i2c/busses/i2c-falcon
52
53define KernelPackage/i2c-falcon-lantiq
54  TITLE:=Falcon I2C controller
55  SUBMENU:=I2C support
56  DEPENDS:=kmod-i2c-core @TARGET_lantiq_falcon
57  KCONFIG:=CONFIG_I2C_FALCON
58  FILES:=$(LINUX_DIR)/drivers/i2c/busses/i2c-falcon.ko
59  AUTOLOAD:=$(call AutoLoad,52,i2c-falcon)
60endef
61
62define KernelPackage/i2c-falcon-lantiq/description
63  Kernel support for the Falcon I2C controller
64endef
65
66$(eval $(call KernelPackage,i2c-falcon-lantiq))
67
Note: See TracBrowser for help on using the repository browser.