soc: riscv: introduce temporary RISCV_PRIVILEGED_STANDALONE

So that SoCs can be ported outside of riscv-privileged folder, setting
their own family name. This will be removed once all SoCs are ported.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This commit is contained in:
Gerard Marull-Paretas 2024-01-03 14:02:24 +01:00 committed by Carles Cufí
parent 0106e8d14c
commit d8c0cc2e35
1 changed files with 4 additions and 1 deletions

View File

@ -4,9 +4,12 @@
# Copyright (c) 2017 Jean-Paul Etienne <fractalclone@gmail.com>
# SPDX-License-Identifier: Apache-2.0
config RISCV_PRIVILEGED_STANDALONE
bool
config SOC_FAMILY
string
default "riscv-privileged" if RISCV_PRIVILEGED
default "riscv-privileged" if RISCV_PRIVILEGED && !RISCV_PRIVILEGED_STANDALONE
config RISCV_HAS_PLIC
bool "Does the SOC provide support for a Platform Level Interrupt Controller (PLIC)"