Kconfigs: Interrupt prioritization should not be automatically selected

This commit is contained in:
Gregory Nutt 2013-12-20 08:42:54 -06:00
parent a00e2987c4
commit 67b5785d58
7 changed files with 26 additions and 14 deletions

View File

@ -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

View File

@ -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

View File

@ -303,7 +303,7 @@ config A1X_IRQ_PERFMU
default n
config A1X_GPU
bool GPU"
bool "GPU"
default n
endmenu

View File

@ -268,6 +268,7 @@ int up_prioritize_irq(int irq, int priority)
return OK;
}
}
return -EINVAL;
}
#endif

View File

@ -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---

View File

@ -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

View File

@ -56,7 +56,6 @@ choice
config SAMA5_NAND_FTL
bool "Create NAND FLASH block driver"
default n
depends on MTD && MTD_NAND
---help---
Create the MTD driver for the NAND and "wrap" the NAND as a standard
@ -71,7 +70,6 @@ config SAMA5_NAND_FTL
config SAMA5_NAND_NXFFS
bool "Create NAND FLASH NXFFS file system"
default n
depends on MTD && MTD_NAND && FS_NXFFS && NXFFS_NAND
---help---
Create the MTD driver for the NAND and mount the NAND device as