Browse Source

char: hw_random: Kconfig: For ARCH_K3 add a dependency on SA2UL

The enable bit is the sa2ul crypto module register space.
Hence add a dependency for K3 family.

Signed-off-by: Keerthy <j-keerthy@ti.com>
Tested-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Keerthy 6 years ago
parent
commit
f782f2cde7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/char/hw_random/Kconfig

+ 1 - 1
drivers/char/hw_random/Kconfig

@@ -154,7 +154,7 @@ config HW_RANDOM_IXP4XX
 
 config HW_RANDOM_OMAP
 	tristate "OMAP Random Number Generator support"
-	depends on ARCH_OMAP16XX || ARCH_OMAP2PLUS || ARCH_MVEBU || ARCH_K3
+	depends on ARCH_OMAP16XX || ARCH_OMAP2PLUS || ARCH_MVEBU || (ARCH_K3 && CRYPTO_DEV_SA2UL)
 	default HW_RANDOM
  	---help---
  	  This driver provides kernel-side support for the Random Number