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,14 +3,11 @@
# Copyright (c) 2017 Christian Taedcke
# SPDX-License-Identifier: Apache-2.0
if BOARD_EFM32WG_STK3800
config BOARD_INIT_PRIORITY
int
default KERNEL_INIT_PRIORITY_DEFAULT
depends on BOARD_EFM32WG_STK3800
depends on GPIO
help
Board initialization priority. This must be bigger than
GPIO_GECKO_COMMON_INIT_PRIORITY.
endif # BOARD_EFM32WG_STK3800