This adds a check and option for edge triggered interrupts Signed-off-by: Joshua Lilly <jgl@meta.com>
19 lines
570 B
Plaintext
19 lines
570 B
Plaintext
# Copyright (c) 2022 Carlo Caione <ccaione@baylibre.com>
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config PLIC
|
|
bool "Platform Level Interrupt Controller (PLIC)"
|
|
default y
|
|
depends on DT_HAS_SIFIVE_PLIC_1_0_0_ENABLED
|
|
select MULTI_LEVEL_INTERRUPTS
|
|
select 2ND_LEVEL_INTERRUPTS
|
|
help
|
|
Platform Level Interrupt Controller provides support
|
|
for external interrupt lines defined by the RISC-V SoC.
|
|
|
|
config PLIC_SUPPORTS_EDGE_IRQ
|
|
bool "The given interrupt controller supports edge interrupts"
|
|
help
|
|
The given interrupt controller supports edge triggered
|
|
interrupts.
|