zephyr/drivers/gpio/Kconfig.imx
Ulf Magnusson f912dfebea drivers: gpio: Kconfig: Remove redundant 'default n' properties
Bool symbols implicitly default to 'n'.

A 'default n' can make sense e.g. in a Kconfig.defconfig file, if you
want to override a 'default y' on the base definition of the symbol. It
isn't used like that on any of these symbols though, and is
inconsistent.

This will make the auto-generated Kconfig documentation have "No
defaults. Implicitly defaults to n." as well, which is clearer than
'default n if ...'

Piggyback a missing 'source "drivers/gpio/Kconfig.imx"'. This file
wasn't included anywhere previously.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2018-07-03 17:11:31 -04:00

52 lines
704 B
Plaintext

# Kconfig.imx - IMX GPIO configuration options
#
# Copyright (c) 2018, NXP
#
# SPDX-License-Identifier: Apache-2.0
#
menuconfig GPIO_IMX
bool "IMX GPIO driver"
depends on GPIO && HAS_IMX_GPIO
help
Enable the IMX GPIO driver.
if GPIO_IMX
config GPIO_IMX_PORT_1
bool "Port 1"
help
Enable Port 1.
config GPIO_IMX_PORT_2
bool "Port 2"
help
Enable Port 2.
config GPIO_IMX_PORT_3
bool "Port 3"
help
Enable Port 3.
config GPIO_IMX_PORT_4
bool "Port 4"
help
Enable Port 4.
config GPIO_IMX_PORT_5
bool "Port 5"
help
Enable Port 5.
config GPIO_IMX_PORT_6
bool "Port 6"
help
Enable Port 6.
config GPIO_IMX_PORT_7
bool "Port 7"
help
Enable Port 7.
endif # GPIO_IMX