Kconfigs: Interrupt prioritization should not be automatically selected
This commit is contained in:
parent
74b2ac023d
commit
f53f269a84
15
arch/Kconfig
15
arch/Kconfig
@ -118,7 +118,7 @@ config ARCH_DMA
|
||||
bool
|
||||
default n
|
||||
|
||||
config ARCH_IRQPRIO
|
||||
config ARCH_HAVE_IRQPRIO
|
||||
bool
|
||||
default n
|
||||
|
||||
@ -137,6 +137,19 @@ config ARCH_HAVE_VFORK
|
||||
config ARCH_HAVE_MMU
|
||||
bool
|
||||
|
||||
config ARCH_IRQPRIO
|
||||
bool "Prioritized interrupt support"
|
||||
default n
|
||||
depends on ARCH_HAVE_IRQPRIO
|
||||
---help---
|
||||
Enable support for prioritized interrupts.
|
||||
|
||||
NOTE: The use of interrupt priorities implies that you also have
|
||||
support for nested interrupts. Most architectures do not support
|
||||
nesting of interupts or, if they do, they only supported nested
|
||||
interrupts with certain configuration options. So this selection
|
||||
should be used with caution.
|
||||
|
||||
config ARCH_STACKDUMP
|
||||
bool "Dump stack on assertions"
|
||||
default n
|
||||
|
@ -169,30 +169,30 @@ config ARCH_ARM920T
|
||||
config ARCH_CORTEXM0
|
||||
bool
|
||||
default n
|
||||
select ARCH_IRQPRIO
|
||||
select ARCH_HAVE_IRQPRIO
|
||||
|
||||
config ARCH_CORTEXM3
|
||||
bool
|
||||
default n
|
||||
select ARCH_IRQPRIO
|
||||
select ARCH_HAVE_IRQPRIO
|
||||
select ARCH_HAVE_RAMVECTORS
|
||||
|
||||
config ARCH_CORTEXM4
|
||||
bool
|
||||
default n
|
||||
select ARCH_IRQPRIO
|
||||
select ARCH_HAVE_IRQPRIO
|
||||
select ARCH_HAVE_RAMVECTORS
|
||||
|
||||
config ARCH_CORTEXA5
|
||||
bool
|
||||
default n
|
||||
select ARCH_IRQPRIO
|
||||
select ARCH_HAVE_IRQPRIO
|
||||
select ARCH_HAVE_MMU
|
||||
|
||||
config ARCH_CORTEXA8
|
||||
bool
|
||||
default n
|
||||
select ARCH_IRQPRIO
|
||||
select ARCH_HAVE_IRQPRIO
|
||||
select ARCH_HAVE_MMU
|
||||
|
||||
config ARCH_FAMILY
|
||||
|
@ -303,7 +303,7 @@ config A1X_IRQ_PERFMU
|
||||
default n
|
||||
|
||||
config A1X_GPU
|
||||
bool GPU"
|
||||
bool "GPU"
|
||||
default n
|
||||
|
||||
endmenu
|
||||
|
@ -268,6 +268,7 @@ int up_prioritize_irq(int irq, int priority)
|
||||
return OK;
|
||||
}
|
||||
}
|
||||
|
||||
return -EINVAL;
|
||||
}
|
||||
#endif
|
||||
|
@ -11,7 +11,7 @@ choice
|
||||
config ARCH_CHIP_PIC32MX
|
||||
bool "PIC32MX"
|
||||
select ARCH_MIPS32
|
||||
select ARCH_IRQPRIO
|
||||
select ARCH_HAVE_IRQPRIO
|
||||
select ARCH_VECNOTIRQ
|
||||
select ARCH_HAVE_RAMFUNCS
|
||||
---help---
|
||||
|
@ -13,28 +13,28 @@ choice
|
||||
config ARCH_CHIP_Z16F2810
|
||||
bool "Z16F2810"
|
||||
select ARCH_CHIP_Z16F
|
||||
select ARCH_IRQPRIO
|
||||
select ARCH_HAVE_IRQPRIO
|
||||
---help---
|
||||
ZiLOG Z16F2810
|
||||
|
||||
config ARCH_CHIP_Z16F2811
|
||||
bool "Z16F2811"
|
||||
select ARCH_CHIP_Z16F
|
||||
select ARCH_IRQPRIO
|
||||
select ARCH_HAVE_IRQPRIO
|
||||
---help---
|
||||
ZiLOG Z16F2811
|
||||
|
||||
config ARCH_CHIP_Z16F3211
|
||||
bool "Z16F3211"
|
||||
select ARCH_CHIP_Z16F
|
||||
select ARCH_IRQPRIO
|
||||
select ARCH_HAVE_IRQPRIO
|
||||
---help---
|
||||
ZiLOG Z16F321
|
||||
|
||||
config ARCH_CHIP_Z16F6411
|
||||
bool "Z16F6411"
|
||||
select ARCH_CHIP_Z16F
|
||||
select ARCH_IRQPRIO
|
||||
select ARCH_HAVE_IRQPRIO
|
||||
---help---
|
||||
ZiLOG Z16F6411
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user