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:
Ulf Magnusson 2020-02-09 22:26:07 +01:00 committed by Kumar Gala
commit 378d6b137a
74 changed files with 123 additions and 388 deletions

View file

@ -3,11 +3,8 @@
# Copyright (c) 2018 Electronut Labs
# SPDX-License-Identifier: Apache-2.0
if BOARD_NRF52840_PAPYR
config BOARD_ENABLE_DCDC
bool "Enable DCDC mode"
select SOC_DCDC_NRF52X
default y
endif # BOARD_NRF52840_PAPYR
depends on BOARD_NRF52840_PAPYR