2021-11-15 07:34:11 +08:00
|
|
|
# Copyright (c) 2021 Tokita, Hiroshi <tokita.hiroshi@gmail.com>
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
config NUCLEI_ECLIC
|
|
|
|
bool "Enhanced Core Local Interrupt Controller (ECLIC)"
|
2022-07-22 14:46:51 +08:00
|
|
|
default y
|
|
|
|
depends on DT_HAS_NUCLEI_ECLIC_ENABLED
|
2024-08-05 11:17:39 +08:00
|
|
|
select RISCV_SOC_HAS_CUSTOM_IRQ_HANDLING
|
2024-08-06 11:31:24 +08:00
|
|
|
select CLIC_SMCLICSHV_EXT if RISCV_VECTORED_MODE
|
2021-11-15 07:34:11 +08:00
|
|
|
help
|
|
|
|
Interrupt controller for Nuclei SoC core.
|
2023-12-21 20:41:59 +08:00
|
|
|
|
2024-04-04 17:08:44 +08:00
|
|
|
config NRFX_CLIC
|
|
|
|
bool "VPR Core Local Interrpt Controller (CLIC)"
|
|
|
|
default y
|
|
|
|
depends on DT_HAS_NORDIC_NRF_CLIC_ENABLED
|
2024-05-21 21:01:40 +08:00
|
|
|
select GEN_IRQ_VECTOR_TABLE
|
2024-04-04 17:08:44 +08:00
|
|
|
help
|
|
|
|
Interrupt controller for Nordic VPR cores.
|
|
|
|
|
2024-08-05 10:41:59 +08:00
|
|
|
config CLIC_SMCLICSHV_EXT
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
The selective hardware vectoring extension gives users the flexibility
|
|
|
|
to select the behavior for each interrupt. The CLIC driver needs to
|
|
|
|
implement the riscv_clic_irq_vector_set() function.
|
|
|
|
|
2024-04-04 17:08:44 +08:00
|
|
|
if NUCLEI_ECLIC
|
|
|
|
|
2023-12-21 20:41:59 +08:00
|
|
|
config LEGACY_CLIC
|
|
|
|
bool "Use the legacy clic specification"
|
|
|
|
depends on RISCV_HAS_CLIC
|
|
|
|
help
|
|
|
|
Enables legacy clic, where smclicshv extension is not supported and
|
|
|
|
hardware vectoring is set via mode bits of mtvec.
|
2024-04-04 17:08:44 +08:00
|
|
|
|
|
|
|
endif # NUCLEI_ECLIC
|