2010-12-13 06:57:16 +08:00
|
|
|
#
|
|
|
|
# Copyright (C) 2010 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# 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
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,lantiq-deu))
|
|
|
|
|
|
|
|
USB_MENU:=USB Support
|
|
|
|
|
|
|
|
define KernelPackage/usb-dwc-otg
|
|
|
|
TITLE:=Synopsis DWC_OTG support
|
|
|
|
SUBMENU:=$(USB_MENU)
|
2011-10-10 23:13:46 +08:00
|
|
|
DEPENDS+=@(TARGET_lantiq_danube||TARGET_lantiq_ar9||TARGET_lantiq_vr9) +kmod-usb-core
|
2010-12-13 06:57:16 +08:00
|
|
|
KCONFIG:=CONFIG_DWC_OTG \
|
|
|
|
CONFIG_DWC_OTG_DEBUG=n \
|
|
|
|
CONFIG_DWC_OTG_LANTIQ=y \
|
2011-03-11 16:19:53 +08:00
|
|
|
CONFIG_DWC_OTG_HOST_ONLY=y \
|
|
|
|
CONFIG_DWC_OTG_DEVICE_ONLY=n
|
2010-12-13 06:57:16 +08:00
|
|
|
FILES:=$(LINUX_DIR)/drivers/usb/dwc_otg/dwc_otg.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,50,dwc_otg)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/usb-dwc-otg/description
|
|
|
|
Kernel support for Synopsis USB on XWAY
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,usb-dwc-otg))
|
|
|
|
|
2011-03-11 16:19:53 +08:00
|
|
|
I2C_FALCON_MODULES:= \
|
|
|
|
CONFIG_I2C_FALCON:drivers/i2c/busses/i2c-falcon
|
|
|
|
|
|
|
|
define KernelPackage/i2c-falcon-lantiq
|
|
|
|
TITLE:=Falcon I2C controller
|
|
|
|
$(call i2c_defaults,$(I2C_FALCON_MODULES),52)
|
2011-10-10 23:13:46 +08:00
|
|
|
DEPENDS:=kmod-i2c-core @(TARGET_lantiq_falcon||TARGET_lantiq_falcon_stable)
|
2011-03-11 16:19:53 +08:00
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/i2c-falcon-lantiq/description
|
|
|
|
Kernel support for the Falcon I2C controller
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,i2c-falcon-lantiq))
|
2010-12-13 06:57:16 +08:00
|
|
|
|