summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2013-11-08 12:44:38 +0000
committerImre Kaloz <kaloz@openwrt.org>2013-11-08 12:44:38 +0000
commit06d0fda4d1220ea54c2886df594320f19622a98c (patch)
tree70520b668371ddd7d0e5386867763fc4895a37df /package
parent1381fa6c5c4d1d3bb6d69f6d5869722af28e3e39 (diff)
downloadmtk-20170518-06d0fda4d1220ea54c2886df594320f19622a98c.zip
mtk-20170518-06d0fda4d1220ea54c2886df594320f19622a98c.tar.gz
mtk-20170518-06d0fda4d1220ea54c2886df594320f19622a98c.tar.bz2
switch to 3.12, enable support for AM33xx/OMAP3
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 38692
Diffstat (limited to 'package')
-rw-r--r--package/kernel/linux/modules/crypto.mk22
-rw-r--r--package/kernel/linux/modules/usb.mk1
2 files changed, 23 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/crypto.mk
index bb5bb28..7996d03 100644
--- a/package/kernel/linux/modules/crypto.mk
+++ b/package/kernel/linux/modules/crypto.mk
@@ -205,6 +205,28 @@ endef
$(eval $(call KernelPackage,crypto-hw-ppc4xx))
+define KernelPackage/crypto-hw-omap
+ TITLE:=TI OMAP hardware crypto modules
+ DEPENDS:=@TARGET_omap4
+ KCONFIG:= \
+ CONFIG_CRYPTO_DEV_OMAP_AES \
+ CONFIG_CRYPTO_DEV_OMAP_DES \
+ CONFIG_CRYPTO_DEV_OMAP_SHAM
+ FILES:= \
+ $(LINUX_DIR)/drivers/crypto/omap-aes.ko \
+ $(LINUX_DIR)/drivers/crypto/omap-des.ko \
+ $(LINUX_DIR)/drivers/crypto/omap-sham.ko
+ AUTOLOAD:=$(call AutoLoad,90,omap-aes omap-des omap-sham)
+ $(call AddDepends/crypto,+kmod-crypto-manager +kmod-crypto-hash)
+endef
+
+define KernelPackage/crypto-hw-omap/description
+ Kernel support for the TI OMAP HW crypto engine.
+endef
+
+$(eval $(call KernelPackage,crypto-hw-omap))
+
+
define KernelPackage/crypto-aes
TITLE:=AES cipher CryptoAPI module
KCONFIG:=CONFIG_CRYPTO_AES CONFIG_CRYPTO_AES_586
diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk
index bec9f6b..e1611aa 100644
--- a/package/kernel/linux/modules/usb.mk
+++ b/package/kernel/linux/modules/usb.mk
@@ -112,6 +112,7 @@ define KernelPackage/usb-ohci
CONFIG_USB_OHCI_ATH79=y \
CONFIG_USB_OHCI_BCM63XX=y \
CONFIG_USB_OCTEON_OHCI=y \
+ CONFIG_USB_OHCI_HCD_OMAP3=y \
CONFIG_USB_OHCI_HCD_PLATFORM=y
FILES:=$(LINUX_DIR)/drivers/usb/host/ohci-hcd.ko
AUTOLOAD:=$(call AutoLoad,50,ohci-hcd,1)