2019-11-01 20:45:29 +08:00
|
|
|
# interrupt controller configuration options
|
2015-06-15 21:20:24 +08:00
|
|
|
|
|
|
|
# Copyright (c) 2015 Intel Corporation
|
2017-01-19 09:01:01 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2015-06-15 21:20:24 +08:00
|
|
|
|
|
|
|
menu "Interrupt Controllers"
|
|
|
|
|
2015-06-20 21:26:06 +08:00
|
|
|
config ARCV2_INTERRUPT_UNIT
|
|
|
|
bool "ARCv2 Interrupt Unit"
|
|
|
|
default y
|
|
|
|
depends on ARC
|
|
|
|
help
|
2017-12-13 23:08:21 +08:00
|
|
|
The ARCv2 interrupt unit has 16 allocated exceptions associated with
|
|
|
|
vectors 0 to 15 and 240 interrupts associated with vectors 16 to 255.
|
|
|
|
The interrupt unit is optional in the ARCv2-based processors. When
|
|
|
|
building a processor, you can configure the processor to include an
|
|
|
|
interrupt unit. The ARCv2 interrupt unit is highly programmable.
|
2016-03-14 23:29:46 +08:00
|
|
|
|
2018-06-11 01:02:14 +08:00
|
|
|
config PLIC
|
|
|
|
bool "Platform Level Interrupt Controller (PLIC)"
|
2017-03-15 05:16:30 +08:00
|
|
|
default y
|
2018-10-14 22:37:38 +08:00
|
|
|
depends on SOC_FAMILY_RISCV_PRIVILEGE
|
2017-03-15 05:16:30 +08:00
|
|
|
select RISCV_HAS_PLIC
|
2019-08-09 12:01:37 +08:00
|
|
|
select MULTI_LEVEL_INTERRUPTS
|
|
|
|
select 2ND_LEVEL_INTERRUPTS
|
2017-03-15 05:16:30 +08:00
|
|
|
help
|
2018-06-11 01:02:14 +08:00
|
|
|
Platform Level Interrupt Controller provides support
|
|
|
|
for external interrupt lines defined by the RISC-V SoC;
|
2017-03-15 05:16:30 +08:00
|
|
|
|
2019-10-10 19:51:18 +08:00
|
|
|
config SWERV_PIC
|
|
|
|
bool "SweRV EH1 Programmable Interrupt Controller (PIC)"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Programmable Interrupt Controller for the SweRV EH1 RISC-V CPU;
|
|
|
|
|
2019-03-28 21:44:12 +08:00
|
|
|
config VEXRISCV_LITEX_IRQ
|
|
|
|
bool "VexRiscv LiteX Interrupt controller"
|
|
|
|
depends on SOC_RISCV32_LITEX_VEXRISCV
|
|
|
|
help
|
|
|
|
IRQ implementation for LiteX VexRiscv
|
|
|
|
|
2018-04-18 17:13:06 +08:00
|
|
|
config GIC
|
|
|
|
bool "ARM Generic Interrupt Controller (GIC)"
|
|
|
|
depends on CPU_CORTEX_R
|
|
|
|
help
|
|
|
|
The ARM Generic Interrupt Controller works with Cortex-A and
|
|
|
|
Cortex-R processors.
|
|
|
|
|
2017-12-24 17:48:57 +08:00
|
|
|
source "drivers/interrupt_controller/Kconfig.multilevel"
|
|
|
|
|
2019-12-18 16:42:14 +08:00
|
|
|
source "drivers/interrupt_controller/Kconfig.loapic"
|
|
|
|
|
|
|
|
source "drivers/interrupt_controller/Kconfig.dw"
|
|
|
|
|
|
|
|
source "drivers/interrupt_controller/Kconfig.stm32"
|
|
|
|
|
2019-12-18 16:48:56 +08:00
|
|
|
source "drivers/interrupt_controller/Kconfig.cavs"
|
2017-10-12 01:06:20 +08:00
|
|
|
|
2018-11-25 17:41:38 +08:00
|
|
|
source "drivers/interrupt_controller/Kconfig.rv32m1"
|
|
|
|
|
2019-03-02 10:29:07 +08:00
|
|
|
source "drivers/interrupt_controller/Kconfig.sam0"
|
|
|
|
|
2015-06-15 21:20:24 +08:00
|
|
|
endmenu
|