arch: arc: kconfig: Define FP_FPU_DA outside Kconfig.defconfig files
Define FP_FPU_DA in arch/arc/Kconfig to make it always available. That way, the Kconfig.defconfig definitions can skip the type, making them incomplete if the base definition of the symbol disappears. That makes the organization easier to understand and errors easier to spot. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
This commit is contained in:
parent
9343e25baa
commit
e073c4f54c
10 changed files with 12 additions and 9 deletions
|
@ -59,6 +59,9 @@ config CPU_EM6
|
|||
help
|
||||
If y, the SoC uses an ARC EM6 CPU
|
||||
|
||||
config FP_FPU_DA
|
||||
bool
|
||||
|
||||
menu "ARCv2 Family Options"
|
||||
|
||||
config CPU_ARCV2
|
||||
|
|
|
@ -28,7 +28,7 @@ config CACHE_FLUSHING
|
|||
default y
|
||||
|
||||
config FP_FPU_DA
|
||||
def_bool y
|
||||
default y
|
||||
|
||||
config MAIN_STACK_SIZE
|
||||
default 2048
|
||||
|
|
|
@ -28,7 +28,7 @@ config CACHE_FLUSHING
|
|||
default n
|
||||
|
||||
config FP_FPU_DA
|
||||
def_bool n
|
||||
default n
|
||||
|
||||
config MAIN_STACK_SIZE
|
||||
default 2048
|
||||
|
|
|
@ -28,7 +28,7 @@ config CACHE_FLUSHING
|
|||
default n
|
||||
|
||||
config FP_FPU_DA
|
||||
def_bool y
|
||||
default y
|
||||
|
||||
config MAIN_STACK_SIZE
|
||||
default 2048
|
||||
|
|
|
@ -28,7 +28,7 @@ config CACHE_FLUSHING
|
|||
default y
|
||||
|
||||
config FP_FPU_DA
|
||||
def_bool n
|
||||
default n
|
||||
|
||||
config MAIN_STACK_SIZE
|
||||
default 2048
|
||||
|
|
|
@ -28,7 +28,7 @@ config CACHE_FLUSHING
|
|||
default y
|
||||
|
||||
config FP_FPU_DA
|
||||
def_bool y
|
||||
default y
|
||||
|
||||
config MAIN_STACK_SIZE
|
||||
default 2048
|
||||
|
|
|
@ -28,6 +28,6 @@ config CACHE_FLUSHING
|
|||
default y
|
||||
|
||||
config FP_FPU_DA
|
||||
def_bool y
|
||||
default y
|
||||
|
||||
endif #SOC_EMSDP_EM7D_ESP
|
||||
|
|
|
@ -28,7 +28,7 @@ config CACHE_FLUSHING
|
|||
default n
|
||||
|
||||
config FP_FPU_DA
|
||||
def_bool y
|
||||
default y
|
||||
|
||||
config MAIN_STACK_SIZE
|
||||
default 2048
|
||||
|
|
|
@ -33,6 +33,6 @@ config CACHE_FLUSHING
|
|||
default y
|
||||
|
||||
config FP_FPU_DA
|
||||
def_bool y
|
||||
default y
|
||||
|
||||
endif #SOC_EMSK_EM11D
|
||||
|
|
|
@ -37,7 +37,7 @@ config CACHE_FLUSHING
|
|||
default y
|
||||
|
||||
config FP_FPU_DA
|
||||
def_bool y
|
||||
default y
|
||||
|
||||
if (ARC_MPU_VER = 2)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue