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

@ -6,7 +6,7 @@
config ENTROPY_ESP32_RNG
bool "ESP32 entropy number generator driver"
depends on ENTROPY_GENERATOR && SOC_ESP32
depends on SOC_ESP32
select ENTROPY_HAS_DRIVER
help
This option enables the entropy number generator for ESP32 SoCs.