starfive: add new target for StarFive JH7100/7110 SoC
[openwrt/staging/981213.git] / target / linux / starfive / patches-6.1 / 0066-crypto-starfive-Fix-driver-dependencies.patch
1 From 0d3ee821ed469a787e8007de2d87e98a2370e087 Mon Sep 17 00:00:00 2001
2 From: Jia Jie Ho <jiajie.ho@starfivetech.com>
3 Date: Fri, 19 May 2023 21:42:33 +0800
4 Subject: [PATCH 066/122] crypto: starfive - Fix driver dependencies
5
6 Kconfig updated to depend on DMADEVICES instead of selecting it.
7
8 Reported-by: kernel test robot <lkp@intel.com>
9 Link: https://lore.kernel.org/oe-kbuild-all/202305191929.Eq4OVZ6D-lkp@intel.com/
10 Signed-off-by: Jia Jie Ho <jiajie.ho@starfivetech.com>
11 Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
12 ---
13 drivers/crypto/starfive/Kconfig | 3 +--
14 1 file changed, 1 insertion(+), 2 deletions(-)
15
16 --- a/drivers/crypto/starfive/Kconfig
17 +++ b/drivers/crypto/starfive/Kconfig
18 @@ -4,10 +4,9 @@
19
20 config CRYPTO_DEV_JH7110
21 tristate "StarFive JH7110 cryptographic engine driver"
22 - depends on SOC_STARFIVE || COMPILE_TEST
23 + depends on (SOC_STARFIVE || COMPILE_TEST) && DMADEVICES
24 select CRYPTO_ENGINE
25 select ARM_AMBA
26 - select DMADEVICES
27 select AMBA_PL08X
28 help
29 Support for StarFive JH7110 crypto hardware acceleration engine.