kconfig: Remove redundant 'default n' properties

Some more were added since the cleanup pass in June 2018. See e.g.
commit 2d50da70a1 ("drivers: ipm: Kconfig: Remove redundant 'default n'
properties") for a motivation. It also avoids people wondering whether
or not they need to put in 'default n'.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
This commit is contained in:
Ulf Magnusson 2019-02-26 20:29:18 +01:00 committed by Anas Nashif
commit 9aab5cef96
19 changed files with 6 additions and 34 deletions

View file

@ -260,7 +260,6 @@ menu "Interrupt Configuration"
# #
config DYNAMIC_INTERRUPTS config DYNAMIC_INTERRUPTS
bool "Enable installation of IRQs at runtime" bool "Enable installation of IRQs at runtime"
default n
help help
Enable installation of interrupts at runtime, which will move some Enable installation of interrupts at runtime, which will move some
interrupt-related data structures to RAM instead of ROM, and interrupt-related data structures to RAM instead of ROM, and

View file

@ -3,7 +3,6 @@ config ARCH
config XUK_DEBUG config XUK_DEBUG
bool "Debug logging at lowest level" bool "Debug logging at lowest level"
default n
help help
When true, enables debug logging from the XUK layer in very When true, enables debug logging from the XUK layer in very
early boot situations (including the 16 and 32 bit stub early boot situations (including the 16 and 32 bit stub

View file

@ -368,7 +368,6 @@ config CLOCK_STM32_PLL_R_DIVISOR
config CLOCK_STM32_LSE config CLOCK_STM32_LSE
bool "Low-speed external clock" bool "Low-speed external clock"
default n
help help
Enable the low-speed external (LSE) clock supplied with a 32.768 kHz Enable the low-speed external (LSE) clock supplied with a 32.768 kHz
crystal resonator oscillator. crystal resonator oscillator.
@ -376,7 +375,6 @@ config CLOCK_STM32_LSE
config CLOCK_STM32_MSI_PLL_MODE config CLOCK_STM32_MSI_PLL_MODE
bool "MSI PLL MODE" bool "MSI PLL MODE"
depends on CLOCK_STM32_LSE depends on CLOCK_STM32_LSE
default n
help help
Enable hardware auto-calibration with LSE. Enable hardware auto-calibration with LSE.

View file

@ -9,7 +9,6 @@ menuconfig I2S_STM32
bool "STM32 MCU I2S controller driver" bool "STM32 MCU I2S controller driver"
depends on I2S && SOC_SERIES_STM32F4X depends on I2S && SOC_SERIES_STM32F4X
select DMA select DMA
default n
help help
Enable I2S support on the STM32 family of processors. Enable I2S support on the STM32 family of processors.
(Tested on the STM32F4 series) (Tested on the STM32F4 series)
@ -26,7 +25,6 @@ config I2S_STM32_TX_BLOCK_COUNT
config I2S_STM32_USE_PLLI2S_ENABLE config I2S_STM32_USE_PLLI2S_ENABLE
bool "Enable usage of PLL" bool "Enable usage of PLL"
default n
help help
Enable it if I2S clock should be provided by the PLLI2S. Enable it if I2S clock should be provided by the PLLI2S.
If not enabled the clock will be provided by HSI/HSE. If not enabled the clock will be provided by HSI/HSE.
@ -65,33 +63,28 @@ config I2S_STM32_PLLI2S_PLLR
frequency is less than or equal to 192MHz. frequency is less than or equal to 192MHz.
Allowed values: 2-7 Allowed values: 2-7
config I2S_1 config I2S_1
bool "I2S port 1" bool "I2S port 1"
default n
help help
Enable I2S controller port 1. Enable I2S controller port 1.
config I2S_2 config I2S_2
bool "I2S port 2" bool "I2S port 2"
default n
help help
Enable I2S controller port 2. Enable I2S controller port 2.
config I2S_3 config I2S_3
bool "I2S port 3" bool "I2S port 3"
default n
help help
Enable I2S controller port 3. Enable I2S controller port 3.
config I2S_4 config I2S_4
bool "I2S port 4" bool "I2S port 4"
default n
help help
Enable I2S controller port 4. Enable I2S controller port 4.
config I2S_5 config I2S_5
bool "I2S port 5" bool "I2S port 5"
default n
help help
Enable I2S controller port 5. Enable I2S controller port 5.

View file

@ -26,7 +26,6 @@ config IPM_MCUX
config IPM_IMX config IPM_IMX
bool "IMX IPM driver" bool "IMX IPM driver"
default n
depends on IPM && HAS_IMX_HAL depends on IPM && HAS_IMX_HAL
help help
Driver for NXP i.MX messaging unit Driver for NXP i.MX messaging unit

View file

@ -16,7 +16,6 @@ menuconfig IWDG_STM32
config IWDG_STM32_START_AT_BOOT config IWDG_STM32_START_AT_BOOT
bool "Start IWDG during boot" bool "Start IWDG during boot"
depends on IWDG_STM32 depends on IWDG_STM32
default n
help help
Enable this setting to allow IWDG to be automatically started Enable this setting to allow IWDG to be automatically started
during device initialization. Note that once IWDG is started during device initialization. Note that once IWDG is started

View file

@ -4,4 +4,3 @@
menuconfig HAS_MEC_HAL menuconfig HAS_MEC_HAL
bool "Microchip MEC HAL drivers support" bool "Microchip MEC HAL drivers support"
default n

View file

@ -5,7 +5,6 @@
# #
config CMSIS_RTOS_V1 config CMSIS_RTOS_V1
bool "CMSIS RTOS v1 API" bool "CMSIS RTOS v1 API"
default n
depends on THREAD_CUSTOM_DATA depends on THREAD_CUSTOM_DATA
depends on POLL depends on POLL
help help

View file

@ -5,7 +5,6 @@
# #
config CMSIS_RTOS_V2 config CMSIS_RTOS_V2
bool "CMSIS RTOS v2 API" bool "CMSIS RTOS v2 API"
default n
depends on POLL depends on POLL
depends on THREAD_NAME depends on THREAD_NAME
depends on THREAD_STACK_INFO depends on THREAD_STACK_INFO

View file

@ -21,10 +21,9 @@ endchoice
config SOC_FAMILY_PSOC6 config SOC_FAMILY_PSOC6
bool bool
# omit prompt to signify a "hidden" option
default n
if SOC_FAMILY_PSOC6 if SOC_FAMILY_PSOC6
config SOC_FAMILY config SOC_FAMILY
string string
default "cypress" default "cypress"

View file

@ -157,7 +157,6 @@ config BT_SETTINGS
if BT_SETTINGS if BT_SETTINGS
config BT_SETTINGS_CCC_STORE_ON_WRITE config BT_SETTINGS_CCC_STORE_ON_WRITE
bool "Store CCC value immediately after it has been written" bool "Store CCC value immediately after it has been written"
default n
help help
Store Client Configuration Characteristic value right after it has Store Client Configuration Characteristic value right after it has
been updated. been updated.
@ -371,7 +370,6 @@ config BT_GATT_CACHING
config BT_GATT_ENFORCE_CHANGE_UNAWARE config BT_GATT_ENFORCE_CHANGE_UNAWARE
bool "GATT Enforce change-unaware state" bool "GATT Enforce change-unaware state"
default n
depends on BT_GATT_CACHING depends on BT_GATT_CACHING
help help
When enable this option blocks notification and indications to client When enable this option blocks notification and indications to client

View file

@ -7,7 +7,6 @@
menuconfig BT_GATT_DIS menuconfig BT_GATT_DIS
bool "Enable GATT Device Information service" bool "Enable GATT Device Information service"
default n
if BT_GATT_DIS if BT_GATT_DIS

View file

@ -10,7 +10,6 @@ config HAS_SEGGER_RTT
config USE_SEGGER_RTT config USE_SEGGER_RTT
bool "Enable SEGGER RTT libraries." bool "Enable SEGGER RTT libraries."
depends on HAS_SEGGER_RTT depends on HAS_SEGGER_RTT
default n
help help
Enable Segger J-Link RTT libraries for platforms that support it. Enable Segger J-Link RTT libraries for platforms that support it.
Selection of this option enables use of RTT for various subsytems. Selection of this option enables use of RTT for various subsytems.
@ -28,7 +27,6 @@ config SEGGER_SYSTEMVIEW
config SEGGER_SYSTEMVIEW_BOOT_ENABLE config SEGGER_SYSTEMVIEW_BOOT_ENABLE
bool "Start logging SystemView events on system start" bool "Start logging SystemView events on system start"
depends on SEGGER_SYSTEMVIEW depends on SEGGER_SYSTEMVIEW
default n
config SEGGER_SYSVIEW_RTT_BUFFER_SIZE config SEGGER_SYSVIEW_RTT_BUFFER_SIZE
int "Buffer size for SystemView RTT" int "Buffer size for SystemView RTT"

View file

@ -435,7 +435,6 @@ endif # LOG_BACKEND_RTT
config LOG_BACKEND_NATIVE_POSIX config LOG_BACKEND_NATIVE_POSIX
bool "Enable native backend" bool "Enable native backend"
depends on ARCH_POSIX depends on ARCH_POSIX
default n
help help
Enable backend in native_posix Enable backend in native_posix

View file

@ -474,7 +474,6 @@ config NET_BUF_DATA_POOL_SIZE
config NET_HEADERS_ALWAYS_CONTIGUOUS config NET_HEADERS_ALWAYS_CONTIGUOUS
bool bool
default n
help help
This a hidden option, which one should use with a lot of care. This a hidden option, which one should use with a lot of care.
NO bug reports will be accepted if that option is enabled! NO bug reports will be accepted if that option is enabled!

View file

@ -38,7 +38,6 @@ config NET_DEBUG_NET_PKT_EXTERNALS
config NET_DEBUG_NET_PKT_NON_FRAGILE_ACCESS config NET_DEBUG_NET_PKT_NON_FRAGILE_ACCESS
bool "Reduce r/w fragility by resetting the packet cursor when freed" bool "Reduce r/w fragility by resetting the packet cursor when freed"
default n
select NET_DEBUG_NET_PKT_ALLOC select NET_DEBUG_NET_PKT_ALLOC
help help
This MUST not be used unless you have an hard to catch bug. This will This MUST not be used unless you have an hard to catch bug. This will

View file

@ -39,7 +39,6 @@ config NET_IF_MCAST_IPV4_ADDR_COUNT
config NET_ICMPV4_ACCEPT_BROADCAST config NET_ICMPV4_ACCEPT_BROADCAST
bool "Accept broadcast ICMPv4 echo-request" bool "Accept broadcast ICMPv4 echo-request"
default n
help help
If set, then respond to ICMPv4 echo-request that is sent to If set, then respond to ICMPv4 echo-request that is sent to
broadcast address. broadcast address.

View file

@ -8,7 +8,6 @@ menu "Link Layer Discovery Protocol (LLDP) options"
config NET_LLDP config NET_LLDP
bool "Enable LLDP" bool "Enable LLDP"
default n
depends on NET_L2_ETHERNET depends on NET_L2_ETHERNET
select NET_MGMT select NET_MGMT
select NET_MGMT_EVENT select NET_MGMT_EVENT

View file

@ -40,7 +40,6 @@ config HAS_COVERAGE_SUPPORT
config COVERAGE config COVERAGE
bool "Create coverage data" bool "Create coverage data"
depends on HAS_COVERAGE_SUPPORT depends on HAS_COVERAGE_SUPPORT
default n
help help
This option will build your application with the -coverage option This option will build your application with the -coverage option
which will generate data that can be used to create coverage reports. which will generate data that can be used to create coverage reports.