kernel/crypto: add rk3328 crypto support

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
This commit is contained in:
CN_SZTL 2020-07-19 18:02:52 +08:00
parent cbe0f5269d
commit 030785fa60
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -841,6 +841,7 @@ define KernelPackage/crypto-wq
AUTOLOAD:=$(call AutoLoad,09,crypto_wq)
$(call AddDepends/crypto)
endef
$(eval $(call KernelPackage,crypto-wq))
@ -855,3 +856,14 @@ endef
$(eval $(call KernelPackage,crypto-xts))
define KernelPackage/crypto-rk3328
TITLE:=Rockchip RK3328 CryptoAPI module
DEPENDS:=@TARGET_rockchip +kmod-crypto-des +kmod-crypto-md5 +kmod-crypto-sha1 +kmod-crypto-sha256
KCONFIG:=CONFIG_CRYPTO_DEV_ROCKCHIP
FILES:=$(LINUX_DIR)/drivers/crypto/rockchip/rk_crypto.ko
AUTOLOAD:=$(call AutoLoad,09,rk_crypto)
$(call AddDepends/crypto)
endef
$(eval $(call KernelPackage,crypto-rk3328))