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 bool
default n default n
config ARCH_IRQPRIO config ARCH_HAVE_IRQPRIO
bool bool
default n default n
@ -137,6 +137,19 @@ config ARCH_HAVE_VFORK
config ARCH_HAVE_MMU config ARCH_HAVE_MMU
bool 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 config ARCH_STACKDUMP
bool "Dump stack on assertions" bool "Dump stack on assertions"
default n default n

View File

@ -169,30 +169,30 @@ config ARCH_ARM920T
config ARCH_CORTEXM0 config ARCH_CORTEXM0
bool bool
default n default n
select ARCH_IRQPRIO select ARCH_HAVE_IRQPRIO
config ARCH_CORTEXM3 config ARCH_CORTEXM3
bool bool
default n default n
select ARCH_IRQPRIO select ARCH_HAVE_IRQPRIO
select ARCH_HAVE_RAMVECTORS select ARCH_HAVE_RAMVECTORS
config ARCH_CORTEXM4 config ARCH_CORTEXM4
bool bool
default n default n
select ARCH_IRQPRIO select ARCH_HAVE_IRQPRIO
select ARCH_HAVE_RAMVECTORS select ARCH_HAVE_RAMVECTORS
config ARCH_CORTEXA5 config ARCH_CORTEXA5
bool bool
default n default n
select ARCH_IRQPRIO select ARCH_HAVE_IRQPRIO
select ARCH_HAVE_MMU select ARCH_HAVE_MMU
config ARCH_CORTEXA8 config ARCH_CORTEXA8
bool bool
default n default n
select ARCH_IRQPRIO select ARCH_HAVE_IRQPRIO
select ARCH_HAVE_MMU select ARCH_HAVE_MMU
config ARCH_FAMILY config ARCH_FAMILY

View File

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

View File

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

View File

@ -11,7 +11,7 @@ choice
config ARCH_CHIP_PIC32MX config ARCH_CHIP_PIC32MX
bool "PIC32MX" bool "PIC32MX"
select ARCH_MIPS32 select ARCH_MIPS32
select ARCH_IRQPRIO select ARCH_HAVE_IRQPRIO
select ARCH_VECNOTIRQ select ARCH_VECNOTIRQ
select ARCH_HAVE_RAMFUNCS select ARCH_HAVE_RAMFUNCS
---help--- ---help---

View File

@ -13,28 +13,28 @@ choice
config ARCH_CHIP_Z16F2810 config ARCH_CHIP_Z16F2810
bool "Z16F2810" bool "Z16F2810"
select ARCH_CHIP_Z16F select ARCH_CHIP_Z16F
select ARCH_IRQPRIO select ARCH_HAVE_IRQPRIO
---help--- ---help---
ZiLOG Z16F2810 ZiLOG Z16F2810
config ARCH_CHIP_Z16F2811 config ARCH_CHIP_Z16F2811
bool "Z16F2811" bool "Z16F2811"
select ARCH_CHIP_Z16F select ARCH_CHIP_Z16F
select ARCH_IRQPRIO select ARCH_HAVE_IRQPRIO
---help--- ---help---
ZiLOG Z16F2811 ZiLOG Z16F2811
config ARCH_CHIP_Z16F3211 config ARCH_CHIP_Z16F3211
bool "Z16F3211" bool "Z16F3211"
select ARCH_CHIP_Z16F select ARCH_CHIP_Z16F
select ARCH_IRQPRIO select ARCH_HAVE_IRQPRIO
---help--- ---help---
ZiLOG Z16F321 ZiLOG Z16F321
config ARCH_CHIP_Z16F6411 config ARCH_CHIP_Z16F6411
bool "Z16F6411" bool "Z16F6411"
select ARCH_CHIP_Z16F select ARCH_CHIP_Z16F
select ARCH_IRQPRIO select ARCH_HAVE_IRQPRIO
---help--- ---help---
ZiLOG Z16F6411 ZiLOG Z16F6411

View File

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