Skip to contentSkip to conversation

crypto: fsl: Only allow these to be chosen on ARM/PowerPC

PATCH In review Tom Rini 2 participants 3 messages Jul 2, 2025 – Jul 10, 2025 Crypto API

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 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.

---
Cc: Gaurav Jain <[email protected]>
Cc: Peng Fan <[email protected]>
Cc: Fabio Estevam <[email protected]>

---
 drivers/crypto/fsl/Kconfig | 4 ++++
 1 file changed, 4 insertions(+)
drivers/crypto/fsl/Kconfig +4 -0
index 9ed56632fcde..fe694f6022c2 100644
@@ -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
Signature · 1 line
2.43.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines

Subject: [PATCH] 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.

Quoted 5 lines

---
Cc: Gaurav Jain <[email protected]>
Cc: Peng Fan <[email protected]>
Cc: Fabio Estevam <[email protected]>

author
#2 lore raw
In reply to Tom Rini
Quoted 5 lines · Tom Rini

These drivers require various headers which only exist on the ARM / PowerPC platforms which implement the hardware. Express that requirement in Kconfig as well.

Applied to u-boot/master, thanks!

[1/1] crypto: fsl: Only allow these to be chosen on ARM/PowerPC

      commit: 60b2eb40d1eacc3b12edab78fdc0c2e33bb2d181
Signature · 1 line
Tom