arch: riscv32: define soc family in correct Kconfig

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2017-09-30 07:59:27 -04:00 committed by Anas Nashif
commit ae2e91155e
2 changed files with 18 additions and 18 deletions

View file

@ -6,4 +6,22 @@
# 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"

View file

@ -4,22 +4,4 @@
#
# 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"