crypto: starfive - Update driver dependencies
authorJia Jie Ho <jiajie.ho@starfivetech.com>
Tue, 14 Nov 2023 17:12:13 +0000 (01:12 +0800)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 19 Feb 2024 00:14:00 +0000 (09:14 +0900)
Change AMBA_PL08X to required dependency as the hash ops depends on it
for data transfer.

Signed-off-by: Jia Jie Ho <jiajie.ho@starfivetech.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
(cherry picked from mainline commit 29ce1bce3a713a8031a88f80224b72696813447d)
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Change-Id: I1f021fbfd4369c1f1d14edf291a1c9b0cdb6b57a

drivers/crypto/starfive/Kconfig

index 2cb1925..cb59357 100644 (file)
@@ -4,7 +4,7 @@
 
 config CRYPTO_DEV_JH7110
        tristate "StarFive JH7110 cryptographic engine driver"
-       depends on SOC_STARFIVE || AMBA_PL08X || COMPILE_TEST
+       depends on (SOC_STARFIVE && AMBA_PL08X) || COMPILE_TEST
        depends on HAS_DMA
        select CRYPTO_ENGINE
        select CRYPTO_HMAC