[LEDE-DEV] [PATCH 5/6] package: kernel: add module crypto-hw-sunxi
Felix Fietkau
nbd at nbd.name
Wed Nov 23 11:36:43 PST 2016
On 2016-11-23 17:03, Yousong Zhou wrote:
> 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))
Since sunxi is not exactly space constrained, I think it would be a good
idea to enable this in the kernel config instead of packaging it.
- Felix
More information about the Lede-dev
mailing list