[LEDE-DEV] [PATCH 5/6] package: kernel: add module crypto-hw-sunxi

Yousong Zhou yszhou4tech at gmail.com
Wed Nov 23 08:03:42 PST 2016


Signed-off-by: Yousong Zhou <yszhou4tech at gmail.com>
---
 package/kernel/linux/modules/crypto.mk | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/crypto.mk
index 0a88c3b..a351609 100644
--- a/package/kernel/linux/modules/crypto.mk
+++ b/package/kernel/linux/modules/crypto.mk
@@ -314,6 +314,23 @@ endef
 $(eval $(call KernelPackage,crypto-hw-omap))
 
 
+define KernelPackage/crypto-hw-sunxi
+  TITLE:=Support for Allwinner Security System cryptographic accelerator
+  KCONFIG:= @TARGET_sunxi \
+	CONFIG_CRYPTO_HW=y \
+	CONFIG_CRYPTO_DEV_SUN4I_SS
+  FILES:=$(LINUX_DIR)/drivers/crypto/sunxi-ss/sun4i-ss.ko
+  AUTOLOAD:=$(call AutoLoad,65,crypto-hw-sunxi)
+  $(call AddDepends/crypto,+kmod-crypto-des)
+endef
+
+define KernelPackage/crypto-hw-sunxi/description
+  Kernel support for AllWinner built-in SoC audio
+endef
+
+$(eval $(call KernelPackage,crypto-hw-sunxi))
+
+
 define KernelPackage/crypto-authenc
   TITLE:=Combined mode wrapper for IPsec
   DEPENDS:=+kmod-crypto-manager +LINUX_4_4:kmod-crypto-null
-- 
2.6.4




More information about the Lede-dev mailing list