diff options
author | John Crispin <blogic@openwrt.org> | 2016-02-25 10:14:24 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2016-02-25 10:14:24 +0000 |
commit | 1fd65f01a6377deee9cd0a96a24079c8219663c3 (patch) | |
tree | f9f9b1a4662fd1ca7b5c8d1afb36ff5f5142cd4e /package/kernel/linux | |
parent | 4b90728fe5a9b366455f3e8dd251950bb911e2d3 (diff) | |
download | master-187ad058-1fd65f01a6377deee9cd0a96a24079c8219663c3.tar.gz master-187ad058-1fd65f01a6377deee9cd0a96a24079c8219663c3.tar.bz2 master-187ad058-1fd65f01a6377deee9cd0a96a24079c8219663c3.zip |
kernel: crypto: add fsl CAAM package
Kernel package enables the Freescale CAAM (crypto accelerator and assurance
module, aka SEC4). Sets kernel defaults for ringsize, intc, and debug.
Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48773 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/linux')
-rw-r--r-- | package/kernel/linux/modules/crypto.mk | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/crypto.mk index 818a846236..756acf2de8 100644 --- a/package/kernel/linux/modules/crypto.mk +++ b/package/kernel/linux/modules/crypto.mk @@ -159,6 +159,32 @@ endef $(eval $(call KernelPackage,crypto-seqiv)) +define KernelPackage/crypto-hw-caam + TITLE:=Freescale CAAM driver (SEC4) + DEPENDS:=@TARGET_imx6||TARGET_mpc85xx +kmod-crypto-aead +kmod-crypto-authenc +kmod-crypto-hash +kmod-random-core + KCONFIG:= \ + CONFIG_CRYPTO_HW=y \ + CONFIG_CRYPTO_DEV_FSL_CAAM \ + CONFIG_CRYPTO_DEV_FSL_CAAM_JR \ + CONFIG_CRYPTO_DEV_FSL_CAAM_CRYPTO_API \ + CONFIG_CRYPTO_DEV_FSL_CAAM_AHASH_API \ + CONFIG_CRYPTO_DEV_FSL_CAAM_RNG_API \ + CONFIG_CRYPTO_DEV_FSL_CAAM_RINGSIZE=9 \ + CONFIG_CRYPTO_DEV_FSL_CAAM_INTC=n \ + CONFIG_CRYPTO_DEV_FSL_CAAM_DEBUG=n + FILES:= \ + $(LINUX_DIR)/drivers/crypto/caam/caam.ko \ + $(LINUX_DIR)/drivers/crypto/caam/caamalg.ko \ + $(LINUX_DIR)/drivers/crypto/caam/caamhash.ko \ + $(LINUX_DIR)/drivers/crypto/caam/caam_jr.ko \ + $(LINUX_DIR)/drivers/crypto/caam/caamrng.ko + AUTOLOAD:=$(call AutoLoad,09,caam caamalg caamhash caam_jr caamrng) + $(call AddDepends/crypto) +endef + +$(eval $(call KernelPackage,crypto-hw-caam)) + + define KernelPackage/crypto-hw-talitos TITLE:=Freescale integrated security engine (SEC) driver DEPENDS:=+kmod-crypto-manager +kmod-crypto-hash +kmod-random-core +kmod-crypto-authenc |