arch: arc: 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. Also fix the 'default' on XIP. Due to Zephyr's prefer-later-defaults behavior, it was always set to 'y' (when the dependencies were satisfied). Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
This commit is contained in:
parent
8cb6fb7223
commit
f428d8dacf
2 changed files with 1 additions and 12 deletions
|
@ -126,8 +126,7 @@ config FAULT_DUMP
|
||||||
0: Off.
|
0: Off.
|
||||||
|
|
||||||
config XIP
|
config XIP
|
||||||
default n if UART_NSIM
|
default y if !UART_NSIM
|
||||||
default y
|
|
||||||
|
|
||||||
config GEN_ISR_TABLES
|
config GEN_ISR_TABLES
|
||||||
default y
|
default y
|
||||||
|
@ -138,7 +137,6 @@ config GEN_IRQ_START_VECTOR
|
||||||
config HARVARD
|
config HARVARD
|
||||||
prompt "Harvard Architecture"
|
prompt "Harvard Architecture"
|
||||||
bool
|
bool
|
||||||
default n
|
|
||||||
help
|
help
|
||||||
The ARC CPU can be configured to have two busses;
|
The ARC CPU can be configured to have two busses;
|
||||||
one for instruction fetching and another that serves as a data bus.
|
one for instruction fetching and another that serves as a data bus.
|
||||||
|
@ -146,14 +144,12 @@ config HARVARD
|
||||||
config CODE_DENSITY
|
config CODE_DENSITY
|
||||||
prompt "Code Density Option"
|
prompt "Code Density Option"
|
||||||
bool
|
bool
|
||||||
default n
|
|
||||||
help
|
help
|
||||||
Enable code density option to get better code density
|
Enable code density option to get better code density
|
||||||
|
|
||||||
config ARC_HAS_SECURE
|
config ARC_HAS_SECURE
|
||||||
bool
|
bool
|
||||||
# a hidden option
|
# a hidden option
|
||||||
default n
|
|
||||||
help
|
help
|
||||||
This option is enabled when ARC core supports secure mode
|
This option is enabled when ARC core supports secure mode
|
||||||
|
|
||||||
|
@ -164,7 +160,6 @@ config ARC_MPU_ENABLE
|
||||||
bool "Enable MPU"
|
bool "Enable MPU"
|
||||||
depends on CPU_HAS_MPU
|
depends on CPU_HAS_MPU
|
||||||
select ARC_MPU
|
select ARC_MPU
|
||||||
default n
|
|
||||||
help
|
help
|
||||||
Enable MPU
|
Enable MPU
|
||||||
|
|
||||||
|
@ -175,7 +170,6 @@ endmenu
|
||||||
config CACHE_LINE_SIZE_DETECT
|
config CACHE_LINE_SIZE_DETECT
|
||||||
bool
|
bool
|
||||||
prompt "Detect d-cache line size at runtime"
|
prompt "Detect d-cache line size at runtime"
|
||||||
default n
|
|
||||||
help
|
help
|
||||||
This option enables querying the d-cache build register for finding
|
This option enables querying the d-cache build register for finding
|
||||||
the d-cache line size at the expense of taking more memory and code
|
the d-cache line size at the expense of taking more memory and code
|
||||||
|
@ -195,11 +189,9 @@ config CACHE_LINE_SIZE
|
||||||
|
|
||||||
config ARCH_CACHE_FLUSH_DETECT
|
config ARCH_CACHE_FLUSH_DETECT
|
||||||
bool
|
bool
|
||||||
default n
|
|
||||||
|
|
||||||
config CACHE_FLUSHING
|
config CACHE_FLUSHING
|
||||||
bool
|
bool
|
||||||
default n
|
|
||||||
prompt "Enable d-cache flushing mechanism"
|
prompt "Enable d-cache flushing mechanism"
|
||||||
help
|
help
|
||||||
This links in the sys_cache_flush() function, which provides a
|
This links in the sys_cache_flush() function, which provides a
|
||||||
|
|
|
@ -17,14 +17,12 @@ config ARC_MPU_VER
|
||||||
config ARC_CORE_MPU
|
config ARC_CORE_MPU
|
||||||
bool "ARC Core MPU functionalities"
|
bool "ARC Core MPU functionalities"
|
||||||
depends on CPU_HAS_MPU
|
depends on CPU_HAS_MPU
|
||||||
default n
|
|
||||||
help
|
help
|
||||||
ARC core MPU functionalities
|
ARC core MPU functionalities
|
||||||
|
|
||||||
config MPU_STACK_GUARD
|
config MPU_STACK_GUARD
|
||||||
bool "Thread Stack Guards"
|
bool "Thread Stack Guards"
|
||||||
depends on ARC_CORE_MPU && !ARC_STACK_CHECKING
|
depends on ARC_CORE_MPU && !ARC_STACK_CHECKING
|
||||||
default n
|
|
||||||
help
|
help
|
||||||
Enable thread stack guards via MPU. ARC supports built-in stack protection.
|
Enable thread stack guards via MPU. ARC supports built-in stack protection.
|
||||||
If your core supports that, it is preferred over MPU stack guard
|
If your core supports that, it is preferred over MPU stack guard
|
||||||
|
@ -35,6 +33,5 @@ config ARC_MPU
|
||||||
select ARC_CORE_MPU
|
select ARC_CORE_MPU
|
||||||
select THREAD_STACK_INFO
|
select THREAD_STACK_INFO
|
||||||
select MPU_REQUIRES_POWER_OF_TWO_ALIGNMENT if ARC_MPU_VER = 2
|
select MPU_REQUIRES_POWER_OF_TWO_ALIGNMENT if ARC_MPU_VER = 2
|
||||||
default n
|
|
||||||
help
|
help
|
||||||
Target has ARC MPU (currently only works for EMSK 2.2/2.3 ARCEM7D)
|
Target has ARC MPU (currently only works for EMSK 2.2/2.3 ARCEM7D)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue