drivers/entropy: stm32: Enable driver based on compatible

To ease driver configuration, enable ENTROPY_STM32_RNG
only if device node  matching driver compatible is enabled.
No more need to enable config symbol under soc/


Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
Erwan Gouriou 2020-04-03 16:18:59 +02:00 committed by Kumar Gala
commit 7e1b1213d7
13 changed files with 3 additions and 52 deletions

View file

@ -11,10 +11,6 @@ config SOC
config NUM_IRQS
default 82
config ENTROPY_STM32_RNG
default y
depends on ENTROPY_GENERATOR
endif # SOC_STM32F407XE
if SOC_STM32F407XG
@ -25,8 +21,4 @@ config SOC
config NUM_IRQS
default 82
config ENTROPY_STM32_RNG
default y
depends on ENTROPY_GENERATOR
endif # SOC_STM32F407XG