Commit 62581570 authored by Valerio Setti's avatar Valerio Setti Committed by Benjamin Cabé
Browse files

drivers: entropy: mcux_rnga: add "depends on SYS_CLOCK_EXISTS"



mcux_rnga driver calls k_cycle_get_32() which is not available
if CONFIG_SYS_CLOCK_EXISTS is not defined. Therefore we add
this depedendency to CONFIG_ENTROPY_MCUX_RNGA.

Signed-off-by: default avatarValerio Setti <vsetti@baylibre.com>
parent 8564df57
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -7,6 +7,7 @@ config ENTROPY_MCUX_RNGA
	bool "MCUX RNGA driver"
	default y
	depends on DT_HAS_NXP_KINETIS_RNGA_ENABLED
	depends on SYS_CLOCK_EXISTS
	select ENTROPY_HAS_DRIVER
	help
	  This option enables the random number generator accelerator (RNGA)