zephyr/drivers/counter/Kconfig.imx_epit
Ulf Magnusson 92a1f2ca72 kconfig: drivers: counter: Remove redundant COUNTER deps.
These symbols appear within an 'if COUNTER' (in
drivers/counter/Kconfig).

'if FOO' is just shorthand for adding 'depends on FOO' to each item
within the 'if'. Dependencies on menus work similarly. There are no
"conditional includes" in Kconfig, so 'if FOO' has no special meaning
around a source. Conditional includes wouldn't be possible, because an
if condition could include (directly or indirectly) forward references
to symbols not defined yet.

Tip: When adding a symbol, check its dependencies in the menuconfig
('ninja menuconfig', then / to jump to the symbol). The menuconfig also
shows how the file with the symbol got included, so if you see
duplicated dependencies, it's easy to hunt down where they come from.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-03-09 10:00:35 -05:00

27 lines
424 B
Plaintext

# Kconfig.imx_epit - IMX EPIT configuration options
#
# Copyright (c) 2018, NXP
#
# SPDX-License-Identifier: Apache-2.0
#
config COUNTER_IMX_EPIT
bool "IMX EPIT driver"
depends on HAS_IMX_EPIT
help
Enable the IMX EPIT driver.
if COUNTER_IMX_EPIT
config COUNTER_IMX_EPIT_1
bool "Counter 1"
help
Enable Counter 1.
config COUNTER_IMX_EPIT_2
bool "Counter 2"
help
Enable Counter 2.
endif # COUNTER_IMX_EPIT