1# Copyright (c) 2021 Tokita, Hiroshi <tokita.hiroshi@gmail.com>
2# SPDX-License-Identifier: Apache-2.0
3
4config NUCLEI_ECLIC
5	bool "Enhanced Core Local Interrupt Controller (ECLIC)"
6	default y
7	depends on DT_HAS_NUCLEI_ECLIC_ENABLED
8	select RISCV_SOC_HAS_CUSTOM_IRQ_HANDLING if !RISCV_VECTORED_MODE
9	help
10	  Interrupt controller for Nuclei SoC core.
11
12config NRFX_CLIC
13	bool "VPR Core Local Interrpt Controller (CLIC)"
14	default y
15	depends on DT_HAS_NORDIC_NRF_CLIC_ENABLED
16	select GEN_IRQ_VECTOR_TABLE
17	help
18	  Interrupt controller for Nordic VPR cores.
19
20if NUCLEI_ECLIC
21
22config LEGACY_CLIC
23	bool "Use the legacy clic specification"
24	depends on RISCV_HAS_CLIC
25	help
26	  Enables legacy clic, where smclicshv extension is not supported and
27	  hardware vectoring is set via mode bits of mtvec.
28
29endif # NUCLEI_ECLIC
30