zephyr/drivers/pinmux/Kconfig.mcux_lpc
Ulf Magnusson d7fa8b25aa drivers: pinmux: 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 ...'

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

37 lines
663 B
Plaintext

# Kconfig - MCUXpresso SDK pinmux for LPC
#
# Copyright (c) 2017, NXP
#
# SPDX-License-Identifier: Apache-2.0
#
menuconfig PINMUX_MCUX_LPC
bool "MCUX LPC pinmux driver"
depends on HAS_MCUX
help
Enable the MCUX LPC pinmux driver.
if PINMUX_MCUX_LPC
config PINMUX_MCUX_LPC_PORT0
bool "Port 0"
help
Enable Port 0.
config PINMUX_MCUX_LPC_PORT0_NAME
string "Pinmux Port 0 driver name"
depends on PINMUX_MCUX_LPC_PORT0
default "port0"
config PINMUX_MCUX_LPC_PORT1
bool "Port 1"
help
Enable Port 1.
config PINMUX_MCUX_LPC_PORT1_NAME
string "Pinmux Port 1 driver name"
depends on PINMUX_MCUX_LPC_PORT1
default "port1"
endif # PINMUX_MCUX_LPC