drivers: entropy: Kconfig: Remove redundant 'default n' properties
Bool symbols implicitly default to 'n'. A 'default n' can make sense e.g. in a Kconfig.defconfig file, if you want to override a 'default y' on the base definition of the symbol. It isn't used like that on any of these symbols though, and is inconsistent. This will make the auto-generated Kconfig documentation have "No defaults. Implicitly defaults to n." as well, which is clearer than 'default n if ...' Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
This commit is contained in:
parent
3ec8dd5744
commit
00ab5ed22a
5 changed files with 0 additions and 7 deletions
|
@ -9,7 +9,6 @@
|
||||||
menuconfig ENTROPY_GENERATOR
|
menuconfig ENTROPY_GENERATOR
|
||||||
bool
|
bool
|
||||||
prompt "Entropy Drivers"
|
prompt "Entropy Drivers"
|
||||||
default n
|
|
||||||
help
|
help
|
||||||
Include entropy drivers in system config.
|
Include entropy drivers in system config.
|
||||||
|
|
||||||
|
@ -23,7 +22,6 @@ source "drivers/entropy/Kconfig.native_posix"
|
||||||
|
|
||||||
config ENTROPY_HAS_DRIVER
|
config ENTROPY_HAS_DRIVER
|
||||||
bool
|
bool
|
||||||
default n
|
|
||||||
help
|
help
|
||||||
This is an option to be enabled by individual entropy driver
|
This is an option to be enabled by individual entropy driver
|
||||||
to signal that there is a true entropy driver.
|
to signal that there is a true entropy driver.
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
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 ENTROPY_GENERATOR && SOC_ESP32
|
||||||
default n
|
|
||||||
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.
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
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 ENTROPY_GENERATOR && HAS_MCUX_RNGA
|
||||||
default n
|
|
||||||
select ENTROPY_HAS_DRIVER
|
select ENTROPY_HAS_DRIVER
|
||||||
help
|
help
|
||||||
This option enables the random number generator accelerator (RNGA)
|
This option enables the random number generator accelerator (RNGA)
|
||||||
|
@ -16,7 +15,6 @@ 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 ENTROPY_GENERATOR && HAS_MCUX_TRNG
|
||||||
default n
|
|
||||||
select ENTROPY_HAS_DRIVER
|
select ENTROPY_HAS_DRIVER
|
||||||
help
|
help
|
||||||
This option enables the true random number generator (TRNG)
|
This option enables the true random number generator (TRNG)
|
||||||
|
|
|
@ -2,7 +2,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 ENTROPY_GENERATOR && ARCH_POSIX
|
||||||
default n
|
|
||||||
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
|
||||||
|
|
|
@ -8,7 +8,6 @@ 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
|
depends on ENTROPY_GENERATOR
|
||||||
default n
|
|
||||||
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