arch/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.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
This commit is contained in:
Ulf Magnusson 2018-06-22 00:09:55 +02:00 committed by Kumar Gala
commit aed5e360ee

View file

@ -92,7 +92,6 @@ config PRIVILEGED_STACK_SIZE
config STACK_GROWS_UP config STACK_GROWS_UP
bool "Stack grows towards higher memory addresses" bool "Stack grows towards higher memory addresses"
default n
help help
Select this option if the architecture has upward growing thread Select this option if the architecture has upward growing thread
stacks. This is not common. stacks. This is not common.
@ -109,7 +108,6 @@ config MAX_THREAD_BYTES
config DYNAMIC_OBJECTS config DYNAMIC_OBJECTS
bool "Allow kernel objects to be allocated at runtime" bool "Allow kernel objects to be allocated at runtime"
default n
depends on USERSPACE depends on USERSPACE
help help
Enabling this option allows for kernel objects to be requested from Enabling this option allows for kernel objects to be requested from
@ -124,7 +122,6 @@ config DYNAMIC_OBJECTS
config SIMPLE_FATAL_ERROR_HANDLER config SIMPLE_FATAL_ERROR_HANDLER
prompt "Simple system fatal error handler" prompt "Simple system fatal error handler"
bool bool
default n
default y if !MULTITHREADING default y if !MULTITHREADING
help help
Provides an implementation of _SysFatalErrorHandler() that hard hangs Provides an implementation of _SysFatalErrorHandler() that hard hangs
@ -139,7 +136,6 @@ menu "Interrupt Configuration"
config GEN_ISR_TABLES config GEN_ISR_TABLES
bool bool
prompt "Use generated IRQ tables" prompt "Use generated IRQ tables"
default n
help help
This option controls whether a platform uses the gen_isr_tables This option controls whether a platform uses the gen_isr_tables
script to generate its interrupt tables. This mechanism will create script to generate its interrupt tables. This mechanism will create
@ -184,7 +180,6 @@ config GEN_IRQ_START_VECTOR
config IRQ_OFFLOAD config IRQ_OFFLOAD
bool "Enable IRQ offload" bool "Enable IRQ offload"
default n
help help
Enable irq_offload() API which allows functions to be synchronously Enable irq_offload() API which allows functions to be synchronously
run in interrupt context. Mainly useful for test cases. run in interrupt context. Mainly useful for test cases.
@ -219,7 +214,6 @@ config ARCH_HAS_THREAD_ABORT
config SYS_POWER_LOW_POWER_STATE_SUPPORTED config SYS_POWER_LOW_POWER_STATE_SUPPORTED
# Hidden # Hidden
bool bool
default n
help help
This option signifies that the target supports the SYS_POWER_LOW_POWER_STATE This option signifies that the target supports the SYS_POWER_LOW_POWER_STATE
configuration option. configuration option.
@ -227,7 +221,6 @@ config SYS_POWER_LOW_POWER_STATE_SUPPORTED
config SYS_POWER_DEEP_SLEEP_SUPPORTED config SYS_POWER_DEEP_SLEEP_SUPPORTED
# Hidden # Hidden
bool bool
default n
help help
This option signifies that the target supports the SYS_POWER_DEEP_SLEEP This option signifies that the target supports the SYS_POWER_DEEP_SLEEP
configuration option. configuration option.
@ -235,7 +228,6 @@ config SYS_POWER_DEEP_SLEEP_SUPPORTED
config BOOTLOADER_CONTEXT_RESTORE_SUPPORTED config BOOTLOADER_CONTEXT_RESTORE_SUPPORTED
# Hidden # Hidden
bool bool
default n
help help
This option signifies that the target has options of bootloaders This option signifies that the target has options of bootloaders
that support context restore upon resume from deep sleep that support context restore upon resume from deep sleep
@ -246,7 +238,6 @@ config BOOTLOADER_CONTEXT_RESTORE_SUPPORTED
config CPU_HAS_FPU config CPU_HAS_FPU
bool bool
default n
help help
This option is enabled when the CPU has hardware floating point This option is enabled when the CPU has hardware floating point
unit. unit.
@ -254,14 +245,12 @@ config CPU_HAS_FPU
config CPU_HAS_MPU config CPU_HAS_MPU
bool bool
# Omit prompt to signify "hidden" option # Omit prompt to signify "hidden" option
default n
help help
This option is enabled when the CPU has a Memory Protection Unit (MPU). This option is enabled when the CPU has a Memory Protection Unit (MPU).
config MPU_REQUIRES_POWER_OF_TWO_ALIGNMENT config MPU_REQUIRES_POWER_OF_TWO_ALIGNMENT
bool bool
# Omit prompt to signify "hidden" option # Omit prompt to signify "hidden" option
default n
help help
This option is enabled when the MPU requires a power of two alignment This option is enabled when the MPU requires a power of two alignment
and size for MPU regions. and size for MPU regions.
@ -273,7 +262,6 @@ depends on CPU_HAS_FPU
config FLOAT config FLOAT
bool bool
prompt "Floating point registers" prompt "Floating point registers"
default n
help help
This option allows threads to use the floating point registers. This option allows threads to use the floating point registers.
By default, only a single thread may use the registers. By default, only a single thread may use the registers.
@ -285,7 +273,6 @@ config FP_SHARING
bool bool
prompt "Floating point register sharing" prompt "Floating point register sharing"
depends on FLOAT depends on FLOAT
default n
help help
This option allows multiple threads to use the floating point This option allows multiple threads to use the floating point
registers. registers.