arch/arm: select ARM_THUMB by default for Cortex-M
Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
parent
3ccb657dc2
commit
8eb999ff03
@ -571,6 +571,7 @@ config ARCH_ARMV6M
|
|||||||
config ARCH_CORTEXM0
|
config ARCH_CORTEXM0
|
||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
|
select ARM_THUMB
|
||||||
select ARCH_ARMV6M
|
select ARCH_ARMV6M
|
||||||
select ARCH_HAVE_IRQPRIO
|
select ARCH_HAVE_IRQPRIO
|
||||||
select ARCH_HAVE_RESET
|
select ARCH_HAVE_RESET
|
||||||
@ -584,6 +585,7 @@ config ARCH_ARMV7M
|
|||||||
config ARCH_CORTEXM3
|
config ARCH_CORTEXM3
|
||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
|
select ARM_THUMB
|
||||||
select ARCH_ARMV7M
|
select ARCH_ARMV7M
|
||||||
select ARCH_HAVE_IRQPRIO
|
select ARCH_HAVE_IRQPRIO
|
||||||
select ARCH_HAVE_IRQTRIGGER
|
select ARCH_HAVE_IRQTRIGGER
|
||||||
@ -600,6 +602,7 @@ config ARCH_CORTEXM3
|
|||||||
config ARCH_CORTEXM4
|
config ARCH_CORTEXM4
|
||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
|
select ARM_THUMB
|
||||||
select ARCH_ARMV7M
|
select ARCH_ARMV7M
|
||||||
select ARCH_HAVE_IRQPRIO
|
select ARCH_HAVE_IRQPRIO
|
||||||
select ARCH_HAVE_IRQTRIGGER
|
select ARCH_HAVE_IRQTRIGGER
|
||||||
@ -616,6 +619,7 @@ config ARCH_CORTEXM4
|
|||||||
config ARCH_CORTEXM7
|
config ARCH_CORTEXM7
|
||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
|
select ARM_THUMB
|
||||||
select ARCH_ARMV7M
|
select ARCH_ARMV7M
|
||||||
select ARCH_HAVE_FPU
|
select ARCH_HAVE_FPU
|
||||||
select ARCH_HAVE_IRQPRIO
|
select ARCH_HAVE_IRQPRIO
|
||||||
@ -714,6 +718,7 @@ config ARCH_ARMV8M
|
|||||||
config ARCH_CORTEXM23
|
config ARCH_CORTEXM23
|
||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
|
select ARM_THUMB
|
||||||
select ARCH_ARMV8M
|
select ARCH_ARMV8M
|
||||||
select ARCH_HAVE_IRQPRIO
|
select ARCH_HAVE_IRQPRIO
|
||||||
select ARCH_HAVE_IRQTRIGGER
|
select ARCH_HAVE_IRQTRIGGER
|
||||||
@ -727,6 +732,7 @@ config ARCH_CORTEXM23
|
|||||||
config ARCH_CORTEXM33
|
config ARCH_CORTEXM33
|
||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
|
select ARM_THUMB
|
||||||
select ARCH_ARMV8M
|
select ARCH_ARMV8M
|
||||||
select ARCH_HAVE_IRQPRIO
|
select ARCH_HAVE_IRQPRIO
|
||||||
select ARCH_HAVE_IRQTRIGGER
|
select ARCH_HAVE_IRQTRIGGER
|
||||||
@ -744,6 +750,7 @@ config ARCH_CORTEXM33
|
|||||||
config ARCH_CORTEXM35P
|
config ARCH_CORTEXM35P
|
||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
|
select ARM_THUMB
|
||||||
select ARCH_ARMV8M
|
select ARCH_ARMV8M
|
||||||
select ARCH_HAVE_IRQPRIO
|
select ARCH_HAVE_IRQPRIO
|
||||||
select ARCH_HAVE_IRQTRIGGER
|
select ARCH_HAVE_IRQTRIGGER
|
||||||
@ -761,6 +768,7 @@ config ARCH_CORTEXM35P
|
|||||||
config ARCH_CORTEXM55
|
config ARCH_CORTEXM55
|
||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
|
select ARM_THUMB
|
||||||
select ARCH_ARMV8M
|
select ARCH_ARMV8M
|
||||||
select ARCH_HAVE_IRQPRIO
|
select ARCH_HAVE_IRQPRIO
|
||||||
select ARCH_HAVE_IRQTRIGGER
|
select ARCH_HAVE_IRQTRIGGER
|
||||||
@ -854,7 +862,6 @@ endchoice # TrustZone Configuration
|
|||||||
config ARM_THUMB
|
config ARM_THUMB
|
||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
depends on ARCH_ARMV7A
|
|
||||||
|
|
||||||
config ARM_HAVE_WFE_SEV
|
config ARM_HAVE_WFE_SEV
|
||||||
bool
|
bool
|
||||||
|
Loading…
Reference in New Issue
Block a user