kconfig: drivers: entropy: Remove duplicated ENTROPY_GENERATOR deps.

Also remove some duplicated dependencies for the related symbol
ENTROPY_NRF5_RNG.

The redundant ENTROPY_GENERATOR deps. are in files sourced within a

  if ENTROPY_GENERATOR
  ...
  endif

block in drivers/entropy/Kconfig.

The redundant ENTROPY_NRF5_RNG deps. are due to redundant 'depends on'
within an 'if' in the same file.

Tip: Jump to symbols with '/' in the menuconfig and press '?' to check
their dependencies. If there are duplicated dependencies, the
'included via ...' path can be handy to discover where they are added.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
This commit is contained in:
Ulf Magnusson 2019-03-07 09:31:33 +01:00 committed by Carles Cufí
commit 61bcd766f7
6 changed files with 5 additions and 11 deletions

View file

@ -7,7 +7,6 @@
menuconfig ENTROPY_NRF5_RNG
bool "nRF5 RNG driver"
depends on ENTROPY_GENERATOR
depends on SOC_COMPATIBLE_NRF
select ENTROPY_HAS_DRIVER
help
@ -19,7 +18,6 @@ if ENTROPY_NRF5_RNG
config ENTROPY_NRF5_BIAS_CORRECTION
bool "Enable bias correction (uniform distribution)"
depends on ENTROPY_NRF5_RNG
help
This option enables the RNG bias correction, which guarantees a
uniform distribution of 0 and 1. When this option is enabled, the time
@ -64,7 +62,6 @@ config ENTROPY_NRF5_ISR_THRESHOLD
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_COMPATIBLE_NRF52X
default 2 if SOC_SERIES_NRF51X
@ -72,4 +69,4 @@ config ENTROPY_NRF5_PRI
help
nRF5X RNG IRQ priority.
endif #ENTROPY_NRF5_RNG
endif # ENTROPY_NRF5_RNG