drivers: interrupt_controller: Add SweRV PIC support
Add support for the built-in Programmable Interrupt Controller
found in the SweRV EH1 RISC-V CPU
Signed-off-by: Olof Kindgren <olof.kindgren@gmail.com>
diff --git a/drivers/interrupt_controller/Kconfig b/drivers/interrupt_controller/Kconfig
index acbe1ad..4cb3fd4 100644
--- a/drivers/interrupt_controller/Kconfig
+++ b/drivers/interrupt_controller/Kconfig
@@ -98,6 +98,12 @@
Platform Level Interrupt Controller provides support
for external interrupt lines defined by the RISC-V SoC;
+config SWERV_PIC
+ bool "SweRV EH1 Programmable Interrupt Controller (PIC)"
+ default n
+ help
+ Programmable Interrupt Controller for the SweRV EH1 RISC-V CPU;
+
config VEXRISCV_LITEX_IRQ
bool "VexRiscv LiteX Interrupt controller"
depends on SOC_RISCV32_LITEX_VEXRISCV