]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
crypto: fsl: Only allow these to be chosen on ARM/PowerPC
authorTom Rini <trini@konsulko.com>
Wed, 2 Jul 2025 01:04:19 +0000 (19:04 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 10 Jul 2025 14:40:58 +0000 (08:40 -0600)
These drivers require various headers which only exist on the ARM /
PowerPC platforms which implement the hardware. Express that requirement
in Kconfig as well.

Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
drivers/crypto/fsl/Kconfig

index 9ed56632fcde21469b194711121ef391506b9d73..fe694f6022c25e3977fd6a374775d09a6871a8b7 100644 (file)
@@ -1,3 +1,5 @@
+if ARM || PPC
+
 config FSL_CAAM
        bool "Freescale Crypto Driver Support"
        select SHA_HW_ACCEL
@@ -95,3 +97,5 @@ config FSL_DCP_RNG
          module of the DCP. It uses the True Random Number Generator (TRNG)
          and a Pseudo-Random Number Generator (PRNG) to achieve a true
          randomness and cryptographic strength.
+
+endif