[openwrt/openwrt] kernel: limit crypto-hw-talitos to the mpc85xx and layerscape

LEDE Commits lede-commits at lists.infradead.org
Sun May 23 06:23:56 PDT 2021


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/08664f9bf353b73da87e995f40f06ad537072061

commit 08664f9bf353b73da87e995f40f06ad537072061
Author: Aleksander Jan Bajkowski <A.Bajkowski at stud.elka.pw.edu.pl>
AuthorDate: Thu Apr 29 23:02:53 2021 +0200

    kernel: limit crypto-hw-talitos to the mpc85xx and layerscape
    
    CONFIG_CRYPTO_DEV_TALITOS depends on FSL_SOC. This driver only makes sense
    on Freescale(NXP) SoCs.
    
    Signed-off-by: Aleksander Jan Bajkowski <A.Bajkowski at stud.elka.pw.edu.pl>
---
 package/kernel/linux/modules/crypto.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/crypto.mk
index aa578e1da0..35d840b229 100644
--- a/package/kernel/linux/modules/crypto.mk
+++ b/package/kernel/linux/modules/crypto.mk
@@ -420,7 +420,8 @@ $(eval $(call KernelPackage,crypto-hw-safexcel))
 
 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 +kmod-crypto-des
+  DEPENDS:=@(TARGET_mpc85xx||TARGET_layerscape) +kmod-crypto-manager \
+	+kmod-crypto-hash +kmod-random-core +kmod-crypto-authenc +kmod-crypto-des
   KCONFIG:= \
 	CONFIG_CRYPTO_HW=y \
 	CONFIG_CRYPTO_DEV_TALITOS \



More information about the lede-commits mailing list