arch: riscv32: define soc family in correct Kconfig
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
be9a0b35ee
commit
ae2e91155e
2 changed files with 18 additions and 18 deletions
|
@ -6,4 +6,22 @@
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
config SOC_FAMILY_RISCV_PRIVILEGE
|
||||||
|
bool
|
||||||
|
# omit prompt to signify a "hidden" option
|
||||||
|
default n
|
||||||
|
|
||||||
|
config SOC_FAMILY
|
||||||
|
string
|
||||||
|
default "riscv-privilege"
|
||||||
|
depends on SOC_FAMILY_RISCV_PRIVILEGE
|
||||||
|
|
||||||
|
config RISCV_HAS_PLIC
|
||||||
|
bool "Does the SOC provide support for a Platform Level Interrupt Controller"
|
||||||
|
default n
|
||||||
|
depends on SOC_FAMILY_RISCV_PRIVILEGE
|
||||||
|
help
|
||||||
|
Does the SOC provide support for a Platform Level Interrupt Controller
|
||||||
|
|
||||||
|
|
||||||
source "arch/riscv32/soc/riscv-privilege/*/Kconfig.soc"
|
source "arch/riscv32/soc/riscv-privilege/*/Kconfig.soc"
|
||||||
|
|
|
@ -4,22 +4,4 @@
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
config SOC_FAMILY_RISCV_PRIVILEGE
|
|
||||||
bool
|
|
||||||
# omit prompt to signify a "hidden" option
|
|
||||||
default n
|
|
||||||
|
|
||||||
config SOC_FAMILY
|
|
||||||
string
|
|
||||||
default "riscv-privilege"
|
|
||||||
depends on SOC_FAMILY_RISCV_PRIVILEGE
|
|
||||||
|
|
||||||
config RISCV_HAS_PLIC
|
|
||||||
bool "Does the SOC provide support for a Platform Level Interrupt Controller"
|
|
||||||
default n
|
|
||||||
depends on SOC_FAMILY_RISCV_PRIVILEGE
|
|
||||||
help
|
|
||||||
Does the SOC provide support for a Platform Level Interrupt Controller
|
|
||||||
|
|
||||||
source "arch/riscv32/soc/riscv-privilege/*/Kconfig.defconfig.series"
|
source "arch/riscv32/soc/riscv-privilege/*/Kconfig.defconfig.series"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue