aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-01-19 10:06:43 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-01-19 10:06:43 +0000
commitd33c0dd6d09b9f3df3cb234bd5cd907b9296ae68 (patch)
treedf25abc98d5f98d263c7092b0e2195873b9a7ed1 /package
parent5abaa5e5a6bfb7e48e79e923c3102b4b6d7b64cb (diff)
downloadupstream-d33c0dd6d09b9f3df3cb234bd5cd907b9296ae68.tar.gz
upstream-d33c0dd6d09b9f3df3cb234bd5cd907b9296ae68.tar.bz2
upstream-d33c0dd6d09b9f3df3cb234bd5cd907b9296ae68.zip
kernel/modules: add kmod-crypto-hw-ccp
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> SVN-Revision: 48347
Diffstat (limited to 'package')
-rw-r--r--package/kernel/linux/modules/crypto.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/crypto.mk
index 7c710531cc..99fb5a0e25 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