zephyr/drivers/i2c/Kconfig.sbcon
Ulf Magnusson 133a299b50 drivers: i2c: 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

47 lines
848 B
Plaintext

#
# Copyright (c) 2016 Linaro Ltd.
#
# SPDX-License-Identifier: Apache-2.0
#
menuconfig I2C_SBCON
bool "I2C driver for ARM's SBCon two-wire serial bus interface"
depends on I2C && ARM
select I2C_BITBANG
if I2C_SBCON
config I2C_SBCON_0
bool "Enable SBCon device 0"
config I2C_SBCON_0_NAME
depends on I2C_SBCON_0
string "SBCon device 0 Device Name"
default "SBCON_0"
config I2C_SBCON_1
bool "Enable SBCon device 1"
config I2C_SBCON_1_NAME
depends on I2C_SBCON_1
string "SBCon device 1 Device Name"
default "SBCON_1"
config I2C_SBCON_2
bool "Enable SBCon device 2"
config I2C_SBCON_2_NAME
depends on I2C_SBCON_2
string "SBCon device 2 Device Name"
default "SBCON_2"
config I2C_SBCON_3
bool "Enable SBCon device 3"
config I2C_SBCON_3_NAME
depends on I2C_SBCON_3
string "SBCon device 0 Device Name"
default "SBCON_3"
endif