drivers: entropy: set default RNG priority for nRF5340

For nRF5340, set the range and the default IRQ level
for the RNG interrupt.

Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
This commit is contained in:
Ioannis Glaropoulos 2019-08-15 18:35:28 +02:00 committed by Carles Cufí
commit 5556908160

View file

@ -71,9 +71,9 @@ config ENTROPY_NRF5_ISR_THRESHOLD
config ENTROPY_NRF5_PRI
int "RNG interrupt priority"
range 0 2 if SOC_SERIES_NRF51X
range 0 5 if SOC_COMPATIBLE_NRF52X
range 0 5 if SOC_COMPATIBLE_NRF52X || SOC_SERIES_NRF53X
default 2 if SOC_SERIES_NRF51X
default 5 if SOC_COMPATIBLE_NRF52X
default 5 if SOC_COMPATIBLE_NRF52X || SOC_SERIES_NRF53X
help
nRF5X RNG IRQ priority.