zephyr/drivers/gpio/Kconfig.cc2650
Ulf Magnusson e65f8ba1f2 kconfig: gpio: Remove lots of redundant GPIO dependencies
Most of these are from source'ing a file within an 'if GPIO', and then
adding another 'depends on GPIO' within it.

'if FOO' is just shorthand for adding 'depends on FOO' to each item
within the 'if'. 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-07 20:28:04 -05:00

24 lines
487 B
Plaintext

# SPDX-License-Identifier: Apache-2.0
#
# GPIO configuration options for the CC2650 SoC (Texas Instruments).
menuconfig GPIO_CC2650
bool "TI CC2650 GPIO driver"
depends on SOC_SERIES_CC2650
help
Enable the GPIO driver on boards equipped with TI CC2650.
if GPIO_CC2650
# A single block of GPIO exist.
config GPIO_CC2650_NAME
string "GPIO driver name."
default "GPIO_0"
config GPIO_CC2650_INIT_PRIO
int "GPIO driver initialization priority."
default 40
endif # GPIO_CC2650