From: Tom Rini Date: Wed, 2 Jul 2025 01:04:19 +0000 (-0600) Subject: crypto: fsl: Only allow these to be chosen on ARM/PowerPC X-Git-Tag: v2025.10-rc1~105 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60b2eb40d1eacc3b12edab78fdc0c2e33bb2d181;p=thirdparty%2Fu-boot.git crypto: fsl: Only allow these to be chosen on ARM/PowerPC 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 Signed-off-by: Tom Rini --- diff --git a/drivers/crypto/fsl/Kconfig b/drivers/crypto/fsl/Kconfig index 9ed56632fcd..fe694f6022c 100644 --- a/drivers/crypto/fsl/Kconfig +++ b/drivers/crypto/fsl/Kconfig @@ -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