drivers: entropy nRF5x : use new compatible SOC symbol

Depend on the new SOC_COMPATIBLE_NRF symbol instead of the
SOC_FAMILY_NRF symbol.

This allows the driver to be used from the bsim simulated board

Signed-off-by: Alberto Escolar Piedras <alpi@oticon.com>
This commit is contained in:
Alberto Escolar Piedras 2018-10-03 16:36:53 +02:00 committed by Anas Nashif
commit 08fdccbb8e

View file

@ -60,9 +60,9 @@ config ENTROPY_NRF5_PRI
int "RNG interrupt priority"
depends on ENTROPY_NRF5_RNG
range 0 2 if SOC_SERIES_NRF51X
range 0 5 if SOC_SERIES_NRF52X
range 0 5 if SOC_COMPATIBLE_NRF52X
default 2 if SOC_SERIES_NRF51X
default 5 if SOC_SERIES_NRF52X
default 5 if SOC_COMPATIBLE_NRF52X
help
nRF5X RNG IRQ priority.