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:
parent
b71b9c688c
commit
61bcd766f7
6 changed files with 5 additions and 11 deletions
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
config ENTROPY_ESP32_RNG
|
config ENTROPY_ESP32_RNG
|
||||||
bool "ESP32 entropy number generator driver"
|
bool "ESP32 entropy number generator driver"
|
||||||
depends on ENTROPY_GENERATOR && SOC_ESP32
|
depends on SOC_ESP32
|
||||||
select ENTROPY_HAS_DRIVER
|
select ENTROPY_HAS_DRIVER
|
||||||
help
|
help
|
||||||
This option enables the entropy number generator for ESP32 SoCs.
|
This option enables the entropy number generator for ESP32 SoCs.
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
menuconfig ENTROPY_MCUX_RNGA
|
menuconfig ENTROPY_MCUX_RNGA
|
||||||
bool "MCUX RNGA driver"
|
bool "MCUX RNGA driver"
|
||||||
depends on ENTROPY_GENERATOR && HAS_MCUX_RNGA
|
depends on HAS_MCUX_RNGA
|
||||||
select ENTROPY_HAS_DRIVER
|
select ENTROPY_HAS_DRIVER
|
||||||
select HAS_DTS_ENTROPY
|
select HAS_DTS_ENTROPY
|
||||||
help
|
help
|
||||||
|
@ -15,7 +15,7 @@ menuconfig ENTROPY_MCUX_RNGA
|
||||||
|
|
||||||
menuconfig ENTROPY_MCUX_TRNG
|
menuconfig ENTROPY_MCUX_TRNG
|
||||||
bool "MCUX TRNG driver"
|
bool "MCUX TRNG driver"
|
||||||
depends on ENTROPY_GENERATOR && HAS_MCUX_TRNG
|
depends on HAS_MCUX_TRNG
|
||||||
select ENTROPY_HAS_DRIVER
|
select ENTROPY_HAS_DRIVER
|
||||||
select HAS_DTS_ENTROPY
|
select HAS_DTS_ENTROPY
|
||||||
help
|
help
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
|
|
||||||
menuconfig FAKE_ENTROPY_NATIVE_POSIX
|
menuconfig FAKE_ENTROPY_NATIVE_POSIX
|
||||||
bool "Native posix entropy driver"
|
bool "Native posix entropy driver"
|
||||||
depends on ENTROPY_GENERATOR && ARCH_POSIX
|
depends on ARCH_POSIX
|
||||||
select ENTROPY_HAS_DRIVER
|
select ENTROPY_HAS_DRIVER
|
||||||
help
|
help
|
||||||
This option enables the test random number generator for the
|
This option enables the test random number generator for the
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
|
|
||||||
menuconfig ENTROPY_NRF5_RNG
|
menuconfig ENTROPY_NRF5_RNG
|
||||||
bool "nRF5 RNG driver"
|
bool "nRF5 RNG driver"
|
||||||
depends on ENTROPY_GENERATOR
|
|
||||||
depends on SOC_COMPATIBLE_NRF
|
depends on SOC_COMPATIBLE_NRF
|
||||||
select ENTROPY_HAS_DRIVER
|
select ENTROPY_HAS_DRIVER
|
||||||
help
|
help
|
||||||
|
@ -19,7 +18,6 @@ if ENTROPY_NRF5_RNG
|
||||||
|
|
||||||
config ENTROPY_NRF5_BIAS_CORRECTION
|
config ENTROPY_NRF5_BIAS_CORRECTION
|
||||||
bool "Enable bias correction (uniform distribution)"
|
bool "Enable bias correction (uniform distribution)"
|
||||||
depends on ENTROPY_NRF5_RNG
|
|
||||||
help
|
help
|
||||||
This option enables the RNG bias correction, which guarantees a
|
This option enables the RNG bias correction, which guarantees a
|
||||||
uniform distribution of 0 and 1. When this option is enabled, the time
|
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
|
config ENTROPY_NRF5_PRI
|
||||||
int "RNG interrupt priority"
|
int "RNG interrupt priority"
|
||||||
depends on ENTROPY_NRF5_RNG
|
|
||||||
range 0 2 if SOC_SERIES_NRF51X
|
range 0 2 if SOC_SERIES_NRF51X
|
||||||
range 0 5 if SOC_COMPATIBLE_NRF52X
|
range 0 5 if SOC_COMPATIBLE_NRF52X
|
||||||
default 2 if SOC_SERIES_NRF51X
|
default 2 if SOC_SERIES_NRF51X
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
menuconfig ENTROPY_SAM_RNG
|
menuconfig ENTROPY_SAM_RNG
|
||||||
bool "Atmel SAM MCU Family True Random Number Generator (TRNG) Driver"
|
bool "Atmel SAM MCU Family True Random Number Generator (TRNG) Driver"
|
||||||
depends on SOC_FAMILY_SAM
|
depends on SOC_FAMILY_SAM
|
||||||
depends on ENTROPY_GENERATOR
|
|
||||||
select ENTROPY_HAS_DRIVER
|
select ENTROPY_HAS_DRIVER
|
||||||
select HAS_DTS_ENTROPY
|
select HAS_DTS_ENTROPY
|
||||||
help
|
help
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
menuconfig ENTROPY_STM32_RNG
|
menuconfig ENTROPY_STM32_RNG
|
||||||
bool "STM32 RNG driver"
|
bool "STM32 RNG driver"
|
||||||
depends on SOC_FAMILY_STM32
|
depends on SOC_FAMILY_STM32
|
||||||
depends on ENTROPY_GENERATOR
|
|
||||||
select ENTROPY_HAS_DRIVER
|
select ENTROPY_HAS_DRIVER
|
||||||
select USE_STM32_LL_RNG
|
select USE_STM32_LL_RNG
|
||||||
help
|
help
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue