2019-11-01 13:45:29 +01:00
|
|
|
# interrupt controller configuration options
|
2015-06-15 15:20:24 +02:00
|
|
|
|
|
|
|
# Copyright (c) 2015 Intel Corporation
|
2017-01-19 02:01:01 +01:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2015-06-15 15:20:24 +02:00
|
|
|
|
|
|
|
menu "Interrupt Controllers"
|
|
|
|
|
2015-06-20 15:26:06 +02:00
|
|
|
config ARCV2_INTERRUPT_UNIT
|
|
|
|
bool "ARCv2 Interrupt Unit"
|
|
|
|
default y
|
|
|
|
depends on ARC
|
|
|
|
help
|
2017-12-13 16:08:21 +01: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 16:29:46 +01:00
|
|
|
|
2018-06-10 19:02:14 +02:00
|
|
|
config PLIC
|
|
|
|
bool "Platform Level Interrupt Controller (PLIC)"
|
2017-03-14 22:16:30 +01:00
|
|
|
default y
|
2018-10-14 16:37:38 +02:00
|
|
|
depends on SOC_FAMILY_RISCV_PRIVILEGE
|
2017-03-14 22:16:30 +01:00
|
|
|
select RISCV_HAS_PLIC
|
2019-08-09 06:01:37 +02:00
|
|
|
select MULTI_LEVEL_INTERRUPTS
|
|
|
|
select 2ND_LEVEL_INTERRUPTS
|
2017-03-14 22:16:30 +01:00
|
|
|
help
|
2018-06-10 19:02:14 +02:00
|
|
|
Platform Level Interrupt Controller provides support
|
|
|
|
for external interrupt lines defined by the RISC-V SoC;
|
2017-03-14 22:16:30 +01:00
|
|
|
|
2019-10-10 13:51:18 +02: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 14:44:12 +01:00
|
|
|
config VEXRISCV_LITEX_IRQ
|
|
|
|
bool "VexRiscv LiteX Interrupt controller"
|
|
|
|
depends on SOC_RISCV32_LITEX_VEXRISCV
|
|
|
|
help
|
|
|
|
IRQ implementation for LiteX VexRiscv
|
|
|
|
|
2017-12-24 10:48:57 +01:00
|
|
|
source "drivers/interrupt_controller/Kconfig.multilevel"
|
|
|
|
|
2019-12-18 09:42:14 +01:00
|
|
|
source "drivers/interrupt_controller/Kconfig.loapic"
|
|
|
|
|
|
|
|
source "drivers/interrupt_controller/Kconfig.dw"
|
|
|
|
|
|
|
|
source "drivers/interrupt_controller/Kconfig.stm32"
|
|
|
|
|
2019-12-18 09:48:56 +01:00
|
|
|
source "drivers/interrupt_controller/Kconfig.cavs"
|
2017-10-11 19:06:20 +02:00
|
|
|
|
2018-11-25 10:41:38 +01:00
|
|
|
source "drivers/interrupt_controller/Kconfig.rv32m1"
|
|
|
|
|
2019-03-02 03:29:07 +01:00
|
|
|
source "drivers/interrupt_controller/Kconfig.sam0"
|
|
|
|
|
2019-12-19 04:41:44 +01:00
|
|
|
source "drivers/interrupt_controller/Kconfig.gic"
|
|
|
|
|
2015-06-15 15:20:24 +02:00
|
|
|
endmenu
|