kconfig: Replace non-defconfig single-symbol 'if's with 'depends on'
Same deal as in commit eddd98f811
("kconfig: Replace some single-symbol
'if's with 'depends on'"), for the remaining cases outside defconfig
files. See that commit for an explanation.
Will do the defconfigs separately in case there are any complaints
there.
Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
This commit is contained in:
parent
a42a42cd5a
commit
378d6b137a
74 changed files with 123 additions and 388 deletions
|
@ -11,10 +11,9 @@ config ENTROPY_NRF_FORCE_ALT
|
|||
This option can be enabled to force an alternative implementation
|
||||
of the entropy driver.
|
||||
|
||||
if !ENTROPY_NRF_FORCE_ALT
|
||||
|
||||
menuconfig ENTROPY_NRF5_RNG
|
||||
bool "nRF5 RNG driver"
|
||||
depends on !ENTROPY_NRF_FORCE_ALT
|
||||
depends on HAS_HW_NRF_RNG
|
||||
select ENTROPY_HAS_DRIVER
|
||||
default y
|
||||
|
@ -78,5 +77,3 @@ config ENTROPY_NRF5_PRI
|
|||
nRF5X RNG IRQ priority.
|
||||
|
||||
endif # ENTROPY_NRF5_RNG
|
||||
|
||||
endif # !ENTROPY_NRF_FORCE_ALT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue