[PATCH] crypto: fsl: Only allow these to be chosen on ARM/PowerPC
Tom Rini
trini at konsulko.com
Wed Jul 2 03:04:19 CEST 2025
These drivers require various headers which only exist on the ARM /
PowerPC platforms which implement the hardware. Express that requirement
in Kconfig as well.
Signed-off-by: Tom Rini <trini at konsulko.com>
---
Cc: Gaurav Jain <gaurav.jain at nxp.com>
Cc: Peng Fan <peng.fan at nxp.com>
Cc: Fabio Estevam <festevam at gmail.com>
---
drivers/crypto/fsl/Kconfig | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/crypto/fsl/Kconfig b/drivers/crypto/fsl/Kconfig
index 9ed56632fcde..fe694f6022c2 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
--
2.43.0
More information about the U-Boot
mailing list