[OpenWrt-Devel] [PATCH 2/3] kernel/modules: add kmod-crypto-hw-ccp
Stijn Tintel
stijn at linux-ipv6.be
Mon Jan 18 22:49:13 EST 2016
Signed-off-by: Stijn Tintel <stijn at linux-ipv6.be>
---
package/kernel/linux/modules/crypto.mk | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/crypto.mk
index 7c71053..99fb5a0 100644
--- a/package/kernel/linux/modules/crypto.mk
+++ b/package/kernel/linux/modules/crypto.mk
@@ -177,6 +177,24 @@ endef
$(eval $(call KernelPackage,crypto-hw-padlock))
+define KernelPackage/crypto-hw-ccp
+ TITLE:=AMD Cryptographic Coprocessor
+ DEPENDS:=+kmod-crypto-authenc +kmod-crypto-hash +kmod-crypto-manager +kmod-random-core
+ KCONFIG:= \
+ CONFIG_CRYPTO_HW=y \
+ CONFIG_CRYPTO_DEV_CCP=y \
+ CONFIG_CRYPTO_DEV_CCP_CRYPTO \
+ CONFIG_CRYPTO_DEV_CCP_DD
+ FILES:= \
+ $(LINUX_DIR)/drivers/crypto/ccp/ccp.ko \
+ $(LINUX_DIR)/drivers/crypto/ccp/ccp-crypto.ko
+ AUTOLOAD:=$(call AutoLoad,09,ccp ccp-crypto)
+ $(call AddDepends/crypto)
+endef
+
+$(eval $(call KernelPackage,crypto-hw-ccp))
+
+
define KernelPackage/crypto-hw-geode
TITLE:=AMD Geode hardware crypto module
DEPENDS:=+kmod-crypto-manager
--
2.4.10
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list