arch: riscv: add RISCV_HAS_(C|P)LIC from soc/riscv
Because these are general RISC-V options, not soc specific. Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This commit is contained in:
parent
2dcbb0ee3f
commit
49e2bc69a2
2 changed files with 12 additions and 12 deletions
|
@ -160,6 +160,18 @@ config RISCV_SOC_OFFSETS
|
|||
in offsets.h. The last one should not end in a semicolon.
|
||||
See gen_offset.h for more details.
|
||||
|
||||
config RISCV_HAS_PLIC
|
||||
bool
|
||||
depends on RISCV_PRIVILEGED
|
||||
help
|
||||
Does the SOC provide support for a Platform Level Interrupt Controller (PLIC).
|
||||
|
||||
config RISCV_HAS_CLIC
|
||||
bool
|
||||
depends on RISCV_PRIVILEGED
|
||||
help
|
||||
Does the SOC provide support for a Core-Local Interrupt Controller (CLIC).
|
||||
|
||||
config RISCV_SOC_INTERRUPT_INIT
|
||||
bool "SOC-based interrupt initialization"
|
||||
help
|
||||
|
|
|
@ -4,18 +4,6 @@
|
|||
# Copyright (c) 2017 Jean-Paul Etienne <fractalclone@gmail.com>
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config RISCV_HAS_PLIC
|
||||
bool
|
||||
depends on RISCV_PRIVILEGED
|
||||
help
|
||||
Does the SOC provide support for a Platform Level Interrupt Controller (PLIC).
|
||||
|
||||
config RISCV_HAS_CLIC
|
||||
bool
|
||||
depends on RISCV_PRIVILEGED
|
||||
help
|
||||
Does the SOC provide support for a Core-Local Interrupt Controller (CLIC).
|
||||
|
||||
config RISCV_VECTORED_MODE
|
||||
bool "Should the SOC use vectored mode"
|
||||
depends on RISCV_PRIVILEGED
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue